#include <cstddef>
Go to the source code of this file.
|
int | websocket_create (const char *addr, int port) |
|
int | websocket_destroy (int socket) |
|
int | websocket_recv (int socket, unsigned char *data, size_t maxsize, struct sockaddr_in *sockaddrbuf, size_t fromLen) |
|
int | websocket_send (int socket, const unsigned char *data, size_t size, const char *addr_str, int port) |
|
int | websocket_fd_set (int socket, fd_set *set) |
|
◆ websocket_create()
int websocket_create |
( |
const char * |
addr, |
|
|
int |
port |
|
) |
| |
◆ websocket_destroy()
int websocket_destroy |
( |
int |
socket | ) |
|
◆ websocket_fd_set()
int websocket_fd_set |
( |
int |
socket, |
|
|
fd_set * |
set |
|
) |
| |
◆ websocket_recv()
int websocket_recv |
( |
int |
socket, |
|
|
unsigned char * |
data, |
|
|
size_t |
maxsize, |
|
|
struct sockaddr_in * |
sockaddrbuf, |
|
|
size_t |
fromLen |
|
) |
| |
◆ websocket_send()
int websocket_send |
( |
int |
socket, |
|
|
const unsigned char * |
data, |
|
|
size_t |
size, |
|
|
const char * |
addr_str, |
|
|
int |
port |
|
) |
| |