|
Strophe
0.9
XMPP client library
|
Functions | |
| int | sock_error (void) |
| static int | _in_progress (int error) |
| sock_t | sock_connect (const char *const host, const unsigned short port) |
| int | sock_set_keepalive (const sock_t sock, int timeout, int interval) |
| int | sock_close (const sock_t sock) |
| int | sock_set_blocking (const sock_t sock) |
| int | sock_set_nonblocking (const sock_t sock) |
| int | sock_read (const sock_t sock, void *const buff, const size_t len) |
| int | sock_write (const sock_t sock, const void *const buff, const size_t len) |
| int | sock_is_recoverable (const int error) |
| int | sock_connect_error (const sock_t sock) |
Socket abstraction.
| int sock_error | ( | void | ) |
|
static |
| sock_t sock_connect | ( | const char *const | host, |
| const unsigned short | port | ||
| ) |
| int sock_set_keepalive | ( | const sock_t | sock, |
| int | timeout, | ||
| int | interval | ||
| ) |
| int sock_close | ( | const sock_t | sock | ) |
| int sock_set_blocking | ( | const sock_t | sock | ) |
| int sock_set_nonblocking | ( | const sock_t | sock | ) |
| int sock_read | ( | const sock_t | sock, |
| void *const | buff, | ||
| const size_t | len | ||
| ) |
| int sock_write | ( | const sock_t | sock, |
| const void *const | buff, | ||
| const size_t | len | ||
| ) |
| int sock_is_recoverable | ( | const int | error | ) |
| int sock_connect_error | ( | const sock_t | sock | ) |