accept Request On

open fun acceptRequestOn(port: Int): Socket

Method to accept a new socket request

Return

socket accepted as Socket

Parameters

port

: port of the server socket where this request must be accepted and routed

Throws

when some errors have been occurred