Mono Class Library: System.Net.Sockets.Socket Overview | MembersSystem.Net.Sockets.Socket.RemoteEndPoint Property |
Gets the remote endpoint associated with the current instance. [Edit]
|
The remote System.Net.EndPoint associated with the current instance. [Edit]
Type Reason System.Net.Sockets.SocketException Note: For additional information on causes of the SocketException, see the System.Net.Sockets.SocketException class.[Edit]ObjectDisposedException The current instance has been disposed. [Edit]
This property is read-only.
This property contains the network connection information associated with the socket communicating with the current instance.
There is no remote endpoint associated with a socket in the listening state. An attempt to access the Socket.RemoteEndPoint property causes a System.Net.Sockets.SocketException exception to be thrown.
Note: The Socket.Accept and Socket.Connect(System.Net.EndPoint) methods, and their asynchronous counterparts set this property.[Edit]
Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0