![]() |
![]()
| ![]() |
![]()
NAMEsocket_fastopen - enable TCP Fast Open on a server-side TCP socket SYNTAX#include <libowfat/socket.h> int socket_fastopen(int s); DESCRIPTIONsocket_fastopen enables TCP Fast Open support on a server-side TCP socket. Call this before socket_listen(). If the platform does not support this functionality, returns -1 and sets errno to ENOPROTOOPT (or ENOSYS if the platform does not define ENOPROTOOPT). Normally socket_fastopen returns 0. If anything goes wrong, socket_fastopen returns -1, setting errno appropriately. EXAMPLE#include <libowfat/socket.h>
SEE ALSOsocket_fastopen_connect4(3), socket_fastopen_connect6(3)
|