1#ifndef ENGINE_SHARED_WEBSOCKETS_H
2#define ENGINE_SHARED_WEBSOCKETS_H
4#if defined(CONF_FAMILY_UNIX)
5#elif defined(CONF_FAMILY_WINDOWS)
13int websocket_recv(
int socket,
unsigned char *data,
size_t maxsize,
struct sockaddr_in *sockaddrbuf,
size_t fromLen);
15 const char *addr_str,
int port);
int websocket_recv(int socket, unsigned char *data, size_t maxsize, struct sockaddr_in *sockaddrbuf, size_t fromLen)
int websocket_destroy(int socket)
int websocket_fd_set(int socket, fd_set *set)
int websocket_create(const char *addr, int port)
int websocket_send(int socket, const unsigned char *data, size_t size, const char *addr_str, int port)