windows.winsock: wrap socket function

db4
Björn Lindqvist 2013-10-07 17:49:07 +02:00 committed by John Benediktsson
parent 968e3e6cf4
commit eaf0b40a9f
1 changed files with 1 additions and 0 deletions

View File

@ -180,6 +180,7 @@ FUNCTION: void freeaddrinfo ( addrinfo* ai ) ;
FUNCTION: hostent* gethostbyname ( c-string name ) ;
FUNCTION: int gethostname ( c-string name, int len ) ;
FUNCTION: void* socket ( int domain, int type, int protocol ) ;
FUNCTION: int connect ( void* socket, sockaddr-in* sockaddr, int addrlen ) ;
FUNCTION: int select ( int nfds, fd_set* readfds, fd_set* writefds, fd_set* exceptfds, timeval* timeout ) ;
FUNCTION: int closesocket ( SOCKET s ) ;