CheckPortAvailable
Check whether a port is free (available for use).
int CheckPortAvailable(int port)
Parameters
port: Port to check.
Return Value
Int: 1 if free, 0 if not free.
Example
// example
int freep = CheckPortAvailable(1080);
Last updated
Was this helpful?