isPortOpened

fun isPortOpened(port: Int): Boolean

Check if a port is already opened.

Return

True if the port is open, false otherwise.

Parameters

port

Port number to check.