Socket.listen

Makes @sock start listening on its local address. When connections come in, @sock will emit #SoupSocket::new_connection.

class Socket
bool
listen
()

Return Value

Type: bool

whether or not @sock is now listening.

Meta