Table of Contents

Namespace VpnHood.Net.Toolkit.Net

Classes

AddressFamilyConnector

Provides a TCP connection over one address family, whatever the OS prefers, for an HTTP handler's ConnectCallback, so the web service sees the caller's address of that family.

IPAddressComparer

Provides the order of IP addresses that Compare(IPAddress?, IPAddress?) gives.

IPAddressExtensions

Provides extension members for addresses, endpoints and address families: their version and kind checks, an address's bytes, and its conversion to an IpAddressValue.

IPAddressUtil

Provides helpers for IP addresses: comparing and converting them, finding this device's own addresses, and well-known DNS servers.

IPEndPointExtensions

Provides the conversion of an IPEndPoint to an IpEndPointValue.

IpNetwork

Represents an IP network in CIDR notation, such as 10.0.0.0/8 or 2001:db8::/32: a prefix, and the number of its leading bits that every address of the network shares.

IpNetworkConverter

Converts a network to and from its text form, such as 10.0.0.0/8.

IpNetworkExtension

Provides extension members for sequences of networks.

IpRange

Represents a range of IP addresses of one family, from a first to a last address, both included.

IpRangeConverter

Converts a range to and from its text form, such as 10.0.0.1-10.0.0.9.

IpRangeExtension

Provides extension members for sequences of ranges and of addresses.

IpRangeOrderedList

Represents a sorted set of IP ranges of both families, in which the ranges of a family that overlap or touch are merged into one.

PortRange

Represents a range of ports, from a first to a last port, both included.

PortRangeConverter

Converts a port range to and from its text form, such as 1000-2000.

SocketExtensions

Provides a socket's endpoints as IPEndPoints.

TcpClientExtensions

Provides a TCP client's endpoints as IPEndPoints.

Structs

IPEndPointPair

Represents a connection's local and remote endpoints.

IPEndPointPairValue

Represents a flow's source and destination endpoints, as values.

IpAddressValue

Represents an IP address as a value: what an IPAddress holds, with no object on the heap.

IpEndPointValue

Represents an IP endpoint as a value: an address and a port, compared by value.

TransferBufferSize

Represents a pair of buffer sizes, for sending and for receiving.

Enums

IpProtocol

Specifies what an IP packet carries: the IPv4 header's Protocol field, or the IPv6 header's Next Header field, by the numbers IANA assigns.

IpVersion

Specifies an IP version, by its number.