This repository has been archived on 2021-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
glovechat/src/server/sock/tcp_win.h
2018-12-20 16:30:51 -06:00

19 lines
286 B
C

#ifndef GLOVE_SOCK_TCP_H
#define GLOVE_SOCK_TCP_H
#include <stdint.h>
#define TCP_FLAG_TYPE 1
#define TCP_FLAG_NONBLOCKING 2
typedef struct {
uint32_t flags;
} tcp_t;
tcp_t* tcp_create_server();
tcp_t* tcp_create_client();
void tcp_destroy(tcp_t* socket);
#endif