Winsock Structures (Compact 2013)

3/26/2014

This section discusses the Winsock structures.

In This Section

  • AFPROTOCOLS
    Supplies a list of protocols to which application programmers can constrain queries. Used for query purposes only
  • BLOB (Windows Sockets)
    Derived from a binary large object (BLOB) and contains information about a block of data
  • CSADDR_INFO
    Contains Windows Sockets address information for a network service or name space provider
  • fd_set
    Used by various Windows Sockets functions and service providers to place sockets into a set for various purposes
  • hostent
    Used by functions to store information about a given host, such as host name, IP address, and so forth
  • IAS_QUERY
    Contains data for an Information Access Service (IAS) object obtained from querying a remote device
  • IAS_SET
    Contains data for creating an Information Access Service (IAS) object
  • in_addr
    Represents a host by its Internet address
  • in6_addr
    Represents a host by its IPv6 address
  • linger
    Maintains information about a specific socket that specifies how that socket should behave when data is queued to be sent and the closesocket function is called
  • NS_SERVICE_INFO
    Contains information about a network service or a network service type in the context of a specified name space, or a set of default name spaces
  • protoent
    Contains the name and protocol numbers that correspond to a given protocol name
  • servent
    Used to store or return the name and service number for a given service name
  • SERVICE_INFO
    Contains information about a network service or a network service type
  • SERVICE_TYPE_INFO_ABS
    Contains information about a network service type. Use this structure to add a network service type to a name space
  • SERVICE_TYPE_VALUE_ABS
    Contains information about a network-service type value. This information may be specific to a name space
  • sockaddr_in6
    In the Internet address family, used by Windows Sockets to specify a local or remote endpoint address to which to connect a socket
  • sockaddr_in
    In the Internet address family, used by Windows Sockets to specify a local or remote endpoint address to which to connect a socket
  • SOCKADDR_IRDA
    Used in conjunction with IrDA socket operations, defined by address family AF_IRDA
  • sockaddr
    This structure varies depending on the protocol selected
  • timeval
    Used to specify time values
  • TRANSMIT_FILE_BUFFERS
    Specifies data to be transmitted before and after file data during a file transfer operation
  • WSABUF
    Enables the creation or manipulation of a data buffer
  • WSACOMPLETION
    Specifies completion notification settings for I/O control calls made to a registered namespace
  • WSADATA
    Used to store Windows Sockets initialization data returned by a call to WSAStartup
  • WSANETWORKEVENTS
    Used to store a socket's internal information about network events
  • WSAOVERLAPPED
    Provides a communication medium between the initiation of an overlapped I/O operation and its subsequent completion
  • WSAPROTOCOL_INFO
    Used to store or retrieve complete information for a given protocol
  • WSAPROTOCOLCHAIN
    Contains a counted list of Catalog Entry identifiers that constitute a provider chain
  • WSAQUERYSET (Windows Sockets)
    Provides relevant information about a given service, including service class ID, service name, applicable name-space identifier and protocol information, as well as a set of transport addresses at which the service listens

See Also

Reference

Winsock Reference