Question Locked

Unbinding a port

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have binded a port with a socket, making it in listening mode by accept() in a java program.

I want to change that port and make

new socket bind on new port with a new thread, but after closing/unbinding that previous port.

Is there any way to deactivate/close/kill the previous port.

1 reply

This discussion is closed to new replies.