Socket abstraction.
More...
◆ sock_initialize()
void sock_initialize |
( |
void |
| ) |
|
◆ sock_shutdown()
void sock_shutdown |
( |
void |
| ) |
|
◆ sock_error()
◆ _in_progress()
static int _in_progress |
( |
int |
error | ) |
|
|
static |
◆ sock_connect()
sock_t sock_connect |
( |
const char * |
host, |
|
|
unsigned short |
port |
|
) |
| |
◆ sock_set_keepalive()
int sock_set_keepalive |
( |
sock_t |
sock, |
|
|
int |
timeout, |
|
|
int |
interval |
|
) |
| |
◆ sock_close()
◆ _sock_set_blocking_mode()
static int _sock_set_blocking_mode |
( |
sock_t |
sock, |
|
|
int |
blocking |
|
) |
| |
|
static |
◆ sock_set_blocking()
int sock_set_blocking |
( |
sock_t |
sock | ) |
|
◆ sock_set_nonblocking()
int sock_set_nonblocking |
( |
sock_t |
sock | ) |
|
◆ sock_read()
int sock_read |
( |
sock_t |
sock, |
|
|
void * |
buff, |
|
|
size_t |
len |
|
) |
| |
◆ sock_write()
int sock_write |
( |
sock_t |
sock, |
|
|
const void * |
buff, |
|
|
size_t |
len |
|
) |
| |
◆ sock_is_recoverable()
int sock_is_recoverable |
( |
int |
error | ) |
|
◆ sock_connect_error()
int sock_connect_error |
( |
sock_t |
sock | ) |
|