What happens if ServerSocket is not able to listen on the
specified port? ( CO2 knowledge)
Answers
Answered by
22
Answer:
ServerSocket() creates an unbound server socket.It throws IOException if specified port is busy when opening the socket.
Explanation:
hope it helps you
Answered by
0
Answer:
server socket () creates an unbound server socket . it throws IO Exception if specified port it is busy when opening the socket ........ if address is null the system will pick an ephemeral port and valid local address to bind socket
- I hope it help full
Similar questions