System.Net.EndPoint Class

System.Net

Represents a network endpoint as an abstract class. An endpoint is a combination of an IP address and a port number. This class serves as the base class for concrete endpoint types, such as IPEndPoint.

Syntax

public abstract class EndPoint

Remarks

The EndPoint class is used to represent a network address. Network applications use the EndPoint class to determine the destination of network traffic. For example, a UDP datagram or a TCP connection requires an EndPoint to specify the recipient or listener.

The EndPoint class is an abstract class. You cannot create an instance of EndPoint directly. Instead, you must create an instance of a derived class, such as IPEndPoint.

The Socket class uses EndPoint objects to establish connections, send and receive data.

Members

Properties

Methods

Inheritance Hierarchy

Object
    » EndPoint

Derived Types

Requirements

Namespace: System.Net

Assembly: System (in System.dll)

Assembly File: System.dll