Socket abstraction API.
More...
Typedefs |
typedef int | sock_t |
Functions |
void | sock_initialize (void) |
void | sock_shutdown (void) |
int | sock_error (void) |
sock_t | sock_connect (const char *const host, const unsigned int port) |
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) |
int | sock_srv_lookup (const char *service, const char *proto, const char *domain, char *resulttarget, int resulttargetlength, int *resultport) |
Detailed Description
Typedef Documentation
Function Documentation
int sock_srv_lookup |
( |
const char * |
service, |
|
|
const char * |
proto, |
|
|
const char * |
domain, |
|
|
char * |
resulttarget, |
|
|
int |
resulttargetlength, |
|
|
int * |
resultport |
|
) |
| |