listen

fun listen(port: Int = DEFAULT_PORT)

Start listening the transmitted data from clients on the given port.

Parameters

port

A port number for receiving data (default: 65500).