socket :: TCPServer :: listen
size
Returns true if the socket could be set, false otherwise
true
false
# Sets the socket as ready to accept incoming connections, `size` is the maximum number of queued clients # # Returns `true` if the socket could be set, `false` otherwise fun listen(size: Int): Bool do return native.listen(size) >= 0 end