Index   Commented   Search   About

Summary of New Functions

The new API functions for Windows Sockets 2 are summarized in the following table.

Data Transport Functions

Function
Description
WSAAccept1
An extended version of accept which allows for conditional acceptance and socket grouping.
WSACloseEvent
Destroys an event object.
WSAConnect1
An extended version of connect which allows for exchange of connect data and QOS specification.
WSACreateEvent
Creates an event object.
WSADuplicateSocket
Creates a new socket descriptor for a shared socket.
WSAEnumNetworkEvents
Discovers occurrences of network events.
WSAEnumProtocols
Retrieves information about each available protocol.
WSAEventSelect
Associates network events with an event object.
WSAGetOverlappedResult
Gets completion status of overlapped operation.
WSAGetQOSByName
Supplies QOS parameters based on a well-known service name.
WSAHtonl
Extended version of htonl.
WSAHtons
Extended version of htons.
WSAIoctl1
Overlapped-capable version of ioctlsocket.
WSAJoinLeaf1
Joins a leaf node into a multipoint session.
WSANtohl
Extended version of ntohl.
WSANtohs
Extended version of ntohs.
WSARecv1
An extended version of recv which accommodates scatter/gather I/O, overlapped sockets, and provides the flags parameter as IN OUT.
WSARecvDisconnect
Terminates reception on a socket and retrieves the disconnect data, if the socket is connection-oriented.
WSARecvFrom1
An extended version of recvfrom which accommodates scatter/gather I/O, overlapped sockets, and provides the flags parameter as IN OUT.
WSAResetEvent
Resets an event object.
WSASend1
An extended version of send which accommodates scatter/gather I/O and overlapped sockets.
WSASendDisconnect
Initiates termination of a socket connection and optionally sends disconnect data.
WSASendTo1
An extended version of sendto which accommodates scatter/gather I/O and overlapped sockets.
WSASetEvent
Sets an event object.
WSASocket
An extended version of socket which takes a WSAPROTOCOL_INFO structure as input and allows overlapped sockets to be created. Also allows socket groups to be formed.
WSAWaitForMultipleEvents1
Blocks on multiple event objects.
  1. The routine can block if acting on a blocking socket.

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET

More Online Helps

Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun