Utility Objects
In addition to WebRequest and WebResponse, the System.Net namespace contains a number of other utility classes useful in network programming. The class Dns provides basic access to a domain name service via static methods. The IPHostEntry associates a collection of IP addresses with a collection of aliases.
The abstract base class EndPoint represents a network resource or service. Descendant classes combine network connection information to form a connection point to a service. The class IPAddress holds a dotted quad IP address. The class IPEndPoint derives from EndPoint, representing a network endpoint as an IP address and a port number. The ServicePoint class represents an association between a set of connections and the target host. The ServicePointManager manages a collection of instances of ServicePoint objects.
|