|
Without knowing any more - consider using a firewall.
If a port is "busy" you cannot bump the user off the port unless you kill the process that has the socket to the port open. Then you open the port and block it.
It sounds like you want some kind of firewall rather than a simple C program.
|