GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
socket_fastopen(3) FreeBSD Library Functions Manual socket_fastopen(3)

socket_fastopen - enable TCP Fast Open on a server-side TCP socket

#include <libowfat/socket.h>

int socket_fastopen(int s);

socket_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.

#include <libowfat/socket.h>

int s; char ip[4]; uint16 p;

s = socket_tcp4b(); socket_fastopen(s); socket_bind4_reuse(s,ip,p); socket_listen(16);

socket_fastopen_connect4(3), socket_fastopen_connect6(3)

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.