Resource ID |
Input |
A 32-bit unsigned binary TCP⁄IP resource
identifier (Client ID in Netstat displays). This descriptor is required
for TCP connections and is ignored for UDP endpoints. |
Local IP address |
Input |
A 32-bit IPv4 address or a 128-bit IPv6 address.
The local IP address value is specified as the IP address field within
a sockaddr structure. The sockaddr address family field must be set
to indicate whether the local IP address value is an IPv4 address
or an IPv6 address. For IPv4 connections, the local IP address value
can be specified as either an IPv4 address (for example, 9.1.2.3)
or as an IPv4-mapped IPv6 address (for example, ::FFFF:9.1.2.3).
For all connections, a null address can be specified as either an
IPv4 address (0.0.0.0), as an IPv4-mapped IPv6 address (::FFFF:0.0.0.0),
or as an IPv6 address (::). The sockaddr length field
value must be set to the correct length for the specified socket family. This
descriptor is required. |
Local port |
Input |
A 16-bit unsigned binary port number. The local
port value is specified as the port field within the sockaddr structure.
This descriptor is required. |
Remote IP address |
Input |
A 32-bit IPv4 address or a 128-bit IPv6 address.
The remote IP address filter value is specified as the IP address
field within a sockaddr structure. The sockaddr address family field
must be set to indicate whether the remote IP address value is an
IPv4 address or an IPv6 address. For IPv4 connections, the remote
IP address value can be specified as either an IPv4 address (for example,
9.1.2.3) or as an IPv4-mapped IPv6 address (for example, ::FFFF:9.1.2.3).
For all connections, a null address can be specified as either an
IPv4 address (0.0.0.0), an IPv4-mapped IPv6 address (::FFFF:0.0.0.0),
or an IPv6 address (::). The sockaddr length field value
must be set to the correct length for the specified socket family. This
descriptor is required for TCP connections and is ignored for UDP
endpoints. |
Remote port |
Input |
A 16-bit unsigned binary port number. The remote
port value is specified as the port field within the sockaddr structure.
This descriptor is required for TCP connections and is ignored for
UDP endpoints |
Protocol |
Input |
An 8-bit character representing either IPPROTO_TCP
or IPPROTO_UDP. |
Return code |
Output |
A 4-byte value, NWMDropConnRc. If this value
is nonzero, it indicates that the drop attempted for this connection
failed. This return code describes the reason for failure. |
Reason code |
Output |
A 4-byte value, NWMDropConnRs. When the Return
Code is set, this value might provide more detailed information about
why the drop request failed for this connection. |