Share via


winsock Module

The winsock module provides support for Windows Sockets (Winsock).

Functions for Application Developers

The winsock module contains the following functions for application developers, which are defined in the Winsock.h header file. To import these functions, you need to link to the winsock.lib file.

Function
accept
bind
Closesocket
connect
Gethostbyaddr
Gethostbyname
Gethostname
Getpeername
Getsockname
Getsockopt
htonl
htons
inet_addr
inet_ntoa
Ioctlsocket
listen
ntohl
ntohs
recv
recvfrom
select
send
sendto
Setsockopt
shutdown
socket
WSACleanup
WSAGetLastError
WSAIoctl
WSASetLastError
WSAStartup

See Also

Windows CE Modules

Components

The winsock module contains the following components.

Component Description Notes Import file
SSLSOCK Secure Sockets Layer (SSL) Winsock support component. Exposes no public functions. Sslsock.lib

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.