Compartir a través de


Winsock Structures (Windows Embedded CE 6.0)

1/6/2010

The following table shows the Winsock structures with a description of the purpose of each.

Programming element Description

addrinfo

This structure is used by the getaddrinfo function to hold host address information.

AFPROTOCOLS

This structure supplies a list of protocols to which application programmers can constrain queries. This structure is used for query purposes only.

BLOB (Windows Sockets)

This structure is derived from a binary large object (BLOB) and contains information about a block of data.

CSADDR_INFO

This structure contains Windows Sockets address information for a network service or name space provider.

fd_set

This structure is used by various Windows Sockets functions and service providers to place sockets into a set for various purposes.

hostent

This structure is used by functions to store information about a given host, such as host name, IP address, and so forth.

IAS_QUERY

This structure contains data for an Information Access Service (IAS) object obtained from querying a remote device.

IAS_SET

This structure contains data for creating an Information Access Service (IAS) object.

in_addr

This structure represents a host by its Internet address.

in6_addr

This structure represents a host by its IPv6 address.

linger

This structure 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

This structure 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.

PROTOCOL_INFO

This structure contains information about a protocol.

protoent

This structure contains the name and protocol numbers that correspond to a given protocol name.

servent

This structure is used to store or return the name and service number for a given service name.

SERVICE_ADDRESSES

This structure contains an array of SERVICE_ADDRESS data structures.

SERVICE_ADDRESS

This structure contains address information for a service.

SERVICE_INFO

This structure contains information about a network service or a network service type.

SERVICE_TYPE_INFO_ABS

This structure contains information about a network service type. Use this structure to add a network service type to a name space.

SERVICE_TYPE_VALUE_ABS

This structure contains information about a network-service type value. This information may be specific to a name space.

sockaddr_in6

In the Internet address family, this structure is 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, this structure is used by Windows Sockets to specify a local or remote endpoint address to which to connect a socket.

SOCKADDR_IRDA

This structure is used in conjunction with IrDA socket operations, defined by address family AF_IRDA.

SOCKADDR_STORAGE

This structure stores socket address information.

sockaddr

This structure varies depending on the protocol selected.

SOCKET_ADDRESS

This structure stores protocol-specific address information.

timeval

This structure is used to specify time values.

TRANSMIT_FILE_BUFFERS

This structure specifies data to be transmitted before and after file data during a file transfer operation.

WSABUF

This structure enables the creation or manipulation of a data buffer.

WSACOMPLETION

This structure specifies completion notification settings for I/O control calls made to a registered namespace.

WSADATA

This structure is used to store Windows Sockets initialization data returned by a call to WSAStartup.

WSANAMESPACE_INFO

This structure contains all registration information for a name space provider.

WSANETWORKEVENTS

This structure is used to store a socket's internal information about network events.

WSAOVERLAPPED

This structure provides a communication medium between the initiation of an overlapped I/O operation and its subsequent completion.

WSAPROTOCOL_INFO

This structure is used to store or retrieve complete information for a given protocol.

WSAPROTOCOLCHAIN

This structure contains a counted list of Catalog Entry identifiers that constitute a provider chain.

WSAQUERYSET (Windows Sockets)

This structure 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.

WSASERVICECLASSINFO

This structure contains information about a specified service class.

See Also

Reference

Winsock Reference