is_server


Description:

[ NoAccessorMethod ]
public bool is_server { get; }

Whether or not the socket is a server socket.

Note that for "ordinary" Sockets this will be set for both listening sockets and the sockets emitted by new_connection, but for sockets created by setting fd, it will only be set for listening sockets.