Wat happens if two applications try to listen to the same port?
|
feedback
|
|
The second one that binds to the port will get an error saying something else is already listening on the port. | |||||
feedback
|
|
Unless they are spawned via tcpmux, the first application binds to the port and listens for connections to it, while the second one cannot bind and cannot listen. | |||||
feedback
|