FreeRDP: winsock.c File Reference\nwinsock.c File Reference\nint WSAStartup (WORD wVersionRequired, LPWSADATA lpWSAData)\nint WSACleanup (void)\nvoid WSASetLastError (int iError)\nint WSAGetLastError (void)\nHANDLE WSACreateEvent (void)\nBOOL WSASetEvent (HANDLE hEvent)\nBOOL WSAResetEvent (HANDLE hEvent)\nBOOL WSACloseEvent (HANDLE hEvent)\nDWORD WSAWaitForMultipleEvents (DWORD cEvents, const HANDLE *lphEvents, BOOL fWaitAll, DWORD dwTimeout, BOOL fAlertable)\nSOCKET WSASocketA (int af, int type, int protocol, LPWSAPROTOCOL_INFOA lpProtocolInfo, GROUP g, DWORD dwFlags)\nSOCKET WSASocketW (int af, int type, int protocol, LPWSAPROTOCOL_INFOW lpProtocolInfo, GROUP g, DWORD dwFlags)\nint WSAIoctl (SOCKET s, DWORD dwIoControlCode, LPVOID lpvInBuffer, DWORD cbInBuffer, LPVOID lpvOutBuffer, DWORD cbOutBuffer, LPDWORD lpcbBytesReturned, LPWSAOVERLAPPED lpOverlapped, LPWSAOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine)\nSOCKET _accept (SOCKET s, struct sockaddr *addr, int *addrlen)\nint _bind (SOCKET s, const struct sockaddr *addr, int namelen)\nint closesocket (SOCKET s)\nint _connect (SOCKET s, const struct sockaddr *name, int namelen)\nint _ioctlsocket (SOCKET s, long cmd, u_long *argp)\nint _getpeername (SOCKET s, struct sockaddr *name, int *namelen)\nint _getsockname (SOCKET s, struct sockaddr *name, int *namelen)\nint _getsockopt (SOCKET s, int level, int optname, char *optval, int *optlen)\nu_long _htonl (u_long hostlong)\nu_short _htons (u_short hostshort)\nunsigned long _inet_addr (const char *cp)\nchar * _inet_ntoa (struct in_addr in)\nint _listen (SOCKET s, int backlog)\nu_long _ntohl (u_long netlong)\nu_short _ntohs (u_short netshort)\nint _recv (SOCKET s, char *buf, int len, int flags)\nint _recvfrom (SOCKET s, char *buf, int len, int flags, struct sockaddr *from, int *fromlen)\nint _select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, const struct timeval *timeout)\nint _send (SOCKET s, const char *buf, int len, int flags)\nint _sendto (SOCKET s, const char *buf, int len, int flags, const struct sockaddr *to, int tolen)\nint _setsockopt (SOCKET s, int level, int optname, const char *optval, int optlen)\nint _shutdown (SOCKET s, int how)\nSOCKET _socket (int af, int type, int protocol)\nstruct hostent * _gethostbyaddr (const char *addr, int len, int type)\nstruct hostent * _gethostbyname (const char *name)\nint _gethostname (char *name, int namelen)\nstruct servent * _getservbyport (int port, const char *proto)\nstruct servent * _getservbyname (const char *name, const char *proto)\nstruct protoent * _getprotobynumber (int number)\nstruct protoent * _getprotobyname (const char *name)\nWinPR: Windows Portable Runtime Windows Sockets (Winsock)\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ws2_32.dll:\n__WSAFDIsSet accept bind closesocket connect freeaddrinfo FreeAddrInfoEx FreeAddrInfoExW FreeAddrInfoW getaddrinfo GetAddrInfoExA GetAddrInfoExCancel GetAddrInfoExOverlappedResult GetAddrInfoExW GetAddrInfoW gethostbyaddr gethostbyname gethostname GetHostNameW getnameinfo GetNameInfoW getpeername getprotobyname getprotobynumber getservbyname getservbyport getsockname getsockopt htonl htons inet_addr inet_ntoa inet_ntop inet_pton InetNtopW InetPtonW ioctlsocket listen ntohl ntohs recv recvfrom select send sendto SetAddrInfoExA SetAddrInfoExW setsockopt shutdown socket WahCloseApcHelper WahCloseHandleHelper WahCloseNotificationHandleHelper WahCloseSocketHandle WahCloseThread WahCompleteRequest WahCreateHandleContextTable WahCreateNotificationHandle WahCreateSocketHandle WahDestroyHandleContextTable WahDisableNonIFSHandleSupport WahEnableNonIFSHandleSupport WahEnumerateHandleContexts WahInsertHandleContext WahNotifyAllProcesses WahOpenApcHelper WahOpenCurrentThread WahOpenHandleHelper WahOpenNotificationHandleHelper WahQueueUserApc WahReferenceContextByHandle WahRemoveHandleContext WahWaitForNotification WahWriteLSPEvent WEP WPUCompleteOverlappedRequest WPUGetProviderPathEx WSAAccept WSAAddressToStringA WSAAddressToStringW WSAAdvertiseProvider WSAAsyncGetHostByAddr WSAAsyncGetHostByName WSAAsyncGetProtoByName WSAAsyncGetProtoByNumber WSAAsyncGetServByName WSAAsyncGetServByPort WSAAsyncSelect WSACancelAsyncRequest WSACancelBlockingCall WSACleanup WSACloseEvent WSAConnect WSAConnectByList WSAConnectByNameA WSAConnectByNameW WSACreateEvent WSADuplicateSocketA WSADuplicateSocketW WSAEnumNameSpaceProvidersA WSAEnumNameSpaceProvidersExA WSAEnumNameSpaceProvidersExW WSAEnumNameSpaceProvidersW WSAEnumNetworkEvents WSAEnumProtocolsA WSAEnumProtocolsW WSAEventSelect WSAGetLastError WSAGetOverlappedResult WSAGetQOSByName WSAGetServiceClassInfoA WSAGetServiceClassInfoW WSAGetServiceClassNameByClassIdA WSAGetServiceClassNameByClassIdW WSAHtonl WSAHtons WSAInstallServiceClassA WSAInstallServiceClassW WSAIoctl WSAIsBlocking WSAJoinLeaf WSALookupServiceBeginA WSALookupServiceBeginW WSALookupServiceEnd WSALookupServiceNextA WSALookupServiceNextW WSANSPIoctl WSANtohl WSANtohs WSAPoll WSAProviderCompleteAsyncCall WSAProviderConfigChange WSApSetPostRoutine WSARecv WSARecvDisconnect WSARecvFrom WSARemoveServiceClass WSAResetEvent WSASend WSASendDisconnect WSASendMsg WSASendTo WSASetBlockingHook WSASetEvent WSASetLastError WSASetServiceA WSASetServiceW WSASocketA WSASocketW WSAStartup WSAStringToAddressA WSAStringToAddressW WSAUnadvertiseProvider WSAUnhookBlockingHook WSAWaitForMultipleEvents WSCDeinstallProvider WSCDeinstallProviderEx WSCEnableNSProvider WSCEnumProtocols WSCEnumProtocolsEx WSCGetApplicationCategory WSCGetApplicationCategoryEx WSCGetProviderInfo WSCGetProviderPath WSCInstallNameSpace WSCInstallNameSpaceEx WSCInstallNameSpaceEx2 WSCInstallProvider WSCInstallProviderAndChains WSCInstallProviderEx WSCSetApplicationCategory WSCSetApplicationCategoryEx WSCSetProviderInfo WSCUnInstallNameSpace WSCUnInstallNameSpaceEx2 WSCUpdateProvider WSCUpdateProviderEx WSCWriteNameSpaceOrder WSCWriteProviderOrder WSCWriteProviderOrderEx\nSOCKET _accept ( SOCKET s,\nint * addrlen\nint _bind ( SOCKET s,\nint _connect ( SOCKET s,\nstruct hostent* _gethostbyaddr ( const char * addr,\nstruct hostent* _gethostbyname ( const char * name )\nint _gethostname ( char * name,\nint _getpeername ( SOCKET s,\nstruct sockaddr * name,\nint * namelen\nstruct protoent* _getprotobyname ( const char * name )\nstruct protoent* _getprotobynumber ( int number )\nstruct servent* _getservbyname ( const char * name,\nstruct servent* _getservbyport ( int port,\nint _getsockname ( SOCKET s,\nint _getsockopt ( SOCKET s,\nchar * optval,\nu_long _htonl ( u_long hostlong )\nu_short _htons ( u_short hostshort )\nunsigned long _inet_addr ( const char * cp )\nchar* _inet_ntoa ( struct in_addr in )\nint _ioctlsocket ( SOCKET s,\nu_long * argp\nint _listen ( SOCKET s,\nu_long _ntohl ( u_long netlong )\nu_short _ntohs ( u_short netshort )\nint _recv ( SOCKET s,\nint _recvfrom ( SOCKET s,\nint * fromlen\nint _select ( int nfds,\nint _send ( SOCKET s,\nint _sendto ( SOCKET s,\nint _setsockopt ( SOCKET s,\nconst char * optval,\nint _shutdown ( SOCKET s,\nSOCKET _socket ( int af,\nint closesocket ( SOCKET s )\nint WSACleanup ( void )\nBOOL WSACloseEvent ( HANDLE hEvent )\nHANDLE WSACreateEvent ( void )\nint WSAEventSelect ( SOCKET s,\nint WSAGetLastError ( void )\nWindows Sockets Extended Error Codes:\nWSASYSNOTREADY WSAVERNOTSUPPORTED WSANOTINITIALISED WSAEDISCON WSAENOMORE WSAECANCELLED WSAEINVALIDPROCTABLE WSAEINVALIDPROVIDER WSAEPROVIDERFAILEDINIT WSASYSCALLFAILURE WSASERVICE_NOT_FOUND WSATYPE_NOT_FOUND WSA_E_NO_MORE WSA_E_CANCELLED WSAEREFUSED\nint WSAIoctl ( SOCKET s,\nBOOL WSAResetEvent ( HANDLE hEvent )\nBOOL WSASetEvent ( HANDLE hEvent )\nvoid WSASetLastError ( int iError )\nSOCKET WSASocketA ( int af,\nSOCKET WSASocketW ( int af,\nint WSAStartup ( WORD wVersionRequired,\nDWORD WSAWaitForMultipleEvents ( DWORD cEvents,\nconst HANDLE * lphEvents,