Platform SDK: Windows Sockets |
The following TCP/IP-specific options are defined.
Value | Meaning |
---|---|
SIO_GET_INTERFACE_LIST | Returns a list of all IP interfaces on the system. |
level=IPPROTO_IP
Value | Type | Meaning |
---|---|---|
IP_OPTIONS | char FAR * | Lists IP options to be inserted into the outgoing packets. |
IP_TOS | int | Specifies the type of service to be used. See following for more information about setting TOS. |
IP_TTL | int | Specifies the TTL to be used. |
IP_HDRINCL | BOOL | If TRUE, the application provides the IP header in the packets sent over SOCK_RAW interface. Otherwise, the header is provided by the service provider. |
IP_MULTICAST_IF | IN_ADDR FAR *structure | Selects the interface for the outgoing multicast packets. The optval should point to the address of the interface to be used. If NULL, the default interface is used. |
IP_MULTICAST_TTL | int | TTL used for the multicast packets. |
IP_MULTICAST_LOOP | BOOL | If TRUE, multicast loopback is enabled. Otherwise, it is disabled. |
IP_ADD_MEMBERSHIP | IP_MREQ FAR * structure | Specifies the multicast group to join. |
IP_DROP_MEMBERSHIP | IP_MREQ FAR * structure | Specifies the multicast group to leave. |
level= IPPROTO_UDP
Value | Type | Meaning |
---|---|---|
UDP_NOCHECKSUM | BOOL | If this option is set, UDP datagrams are sent with the checksum of zero. This option is required. If a service provider does not have a mechanism to disable UDP checksum calculation, it may simply store this option without taking any action. |
level= IPPROTO_TCP
Value | Type | Meaning |
---|---|---|
TCP_EXPEDITED_1122 | BOOL | If set, the SP implements the expedited data as specified in RFC-1222. Otherwise, the BSD style (default) is used. This option can be set on the connection only once, that is, once on, this option can not be turned off. This option is not required. |
There are two important points to keep in mind regarding TOS:
It is important to note that when QOS is enabled on a Windows 2000 computer, all TOS settings are overridden by settings implemented or set using the traffic control API (TC API) or the QOS API.
XPI_SUPPORTS_MULTIPOINT = 1
XP1_MULTIPOINT_CONTROL_PLANE = 0
XP1_MULTIPOINT_DATA_PLANE = 0