Data Structures | |
struct | lwip_socket |
struct | lwip_select_cb |
struct | lwip_setgetsockopt_data |
Functions | |
void | lwip_socket_init (void) |
int | lwip_listen (int s, int backlog) |
int | lwip_select (int maxfdp1, fd_set *readset, fd_set *writeset, fd_set *exceptset, struct timeval *timeout) |
int | lwip_shutdown (int s, int how) |
int lwip_listen | ( | int | s, | |
int | backlog | |||
) |
Set a socket into listen mode. The socket may not have been used for another connection previously.
s | the socket to set to listening mode | |
backlog | (ATTENTION: need TCP_LISTEN_BACKLOG=1) |
int lwip_select | ( | int | maxfdp1, | |
fd_set * | readset, | |||
fd_set * | writeset, | |||
fd_set * | exceptset, | |||
struct timeval * | timeout | |||
) |
Processing exceptset is not yet implemented.
int lwip_shutdown | ( | int | s, | |
int | how | |||
) |
Unimplemented: Close one end of a full-duplex connection. Currently, the full connection is closed.
void lwip_socket_init | ( | void | ) |
Initialize this module. This function has to be called before any other functions in this module!