EndPoint | CF 1.0, ECMA 1.0, serializable |
System.Net (system.dll) | abstract class |
This abstract class represents
a network address. It is extended by
IPEndPoint, which represents an IP network
address. It could later be extended to represent other kinds of
networking endpoints for other protocol stacks beyond TCP/IP.
public abstract class EndPoint {
// Protected Constructors
protected EndPoint( );
// Public Instance Properties
public virtual AddressFamily AddressFamily{get; }
// Public Instance Methods
public virtual EndPoint Create(SocketAddress socketAddress);
public virtual SocketAddress Serialize( );
}
Subclasses
IPEndPoint
Returned By
IPEndPoint.Create( ),
System.Net.Sockets.Socket.{LocalEndPoint,
RemoteEndPoint},
System.Net.Sockets.TcpListener.LocalEndpoint
Passed To
System.Net.Sockets.Socket.{BeginConnect( ),
BeginReceiveFrom( ), BeginSendTo(
), Bind( ), Connect(
), EndReceiveFrom( ),
ReceiveFrom( ), SendTo( )}
|