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

◆ create()

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

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

Parameters
socket_addressThe socket address that serves as the endpoint for a connection.
Returns
A new 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 from xtd::net::end_point.