August 2003
Intermediate to advanced
928 pages
32h 1m
English
EndPoint
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( );
}
IPEndPoint
IPEndPoint.Create( ),
System.Net.Sockets.Socket.{LocalEndPoint,
RemoteEndPoint},
System.Net.Sockets.TcpListener.LocalEndpoint
System.Net.Sockets.Socket.{BeginConnect( ),
BeginReceiveFrom( ), BeginSendTo( ), Bind( ), Connect( ), EndReceiveFrom( ),
ReceiveFrom( ), SendTo( )}