O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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()}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required