void xtd::net::sockets::socket::listen | ( | size_t | backlog | ) |
Places a xtd::net::sockets::socket in a listening state.
backlog | The maximum length of the pending connections queue. |
xtd::net::sockets::socket_exception | An error occurred when attempting to access the socket. |
xtd::object_closed_exception | The xtd::net::sockets::socket has been closed. |