xtd 0.2.0
Loading...
Searching...
No Matches

◆ create()

virtual xtd::uptr< end_point > xtd::net::end_point::create ( const socket_address socket_address) const
virtual

Creates an xtd::net::end_point instance from a socket_address instance.

Parameters
socket_addressThe socket address that serves as the endpoint for a connection.
Returns
A new xtd::net::end_point instance that is initialized from the specified xtd::net::socket_address instance.
Exceptions
xtd::not_supported_exceptionAny attempt is made to access the method when the method is not overridden in a descendant class.

Reimplemented in xtd::net::ip_end_point.