Group: Windows Sockets 2 (Winsock) - Library: ws2_32
How to build UDP responder
Winsock: creating a socket that is bound to a specific service provider
Winsock: reading and setting socket options
Winsock: retrieving Web pages using sockets (HTTP, port 80)
Winsock: sending email messages (SMTP, port 25)
Winsock: retrieving directory listing from an FTP server using passive data connection (FTP, port 21)
Winsock: reading email messages (POP3, port 110)
Winsock: connecting to a news server (NNTP, port 119)
How to create non-blocking Winsock server
A client for testing non-blocking Winsock server
int closesocket(
SOCKET s
);
DECLARE INTEGER closesocket IN ws2_32;
INTEGER s
s [in] Descriptor identifying the socket to close.
If no error occurs, closesocket returns zero. Otherwise, a value of SOCKET_ERROR (-1) is returned.