Returns a new System.Net.IPEndPoint instance containing the address information from the specified System.Net.SocketAddress instance.
- sockaddr
- A System.Net.SocketAddress instance that provides the address information for the new System.Net.IPEndPoint instance.
A new System.Net.IPEndPoint instance containing the address information from the specified System.Net.SocketAddress instance.
Type Reason ArgumentException The AddressFamily of the specified System.Net.SocketAddress is not equal to the AddressFamily of the current instance.
Note: This method overrides EndPoint.Create(SocketAddress) .
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0