Name
EndPoint
Synopsis
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 method EndPoint(); // Public Instance Properties public virtual field AddressFamily AddressFamily{get; } // Public Instance Methods public virtual method EndPoint Create( SocketAddress socketAddress); public virtual method 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()}
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.