Sep-15-2017, 03:20 PM
The client and the server will each have their own, separate, independent sockets, which happen to be connected at the same port. Only one listener can bind to a port, but many clients can bind to it (that's how more than one person can play a multiplayer game in realtime... if only one client could be connected at a time, the only multiplayer games would be games that didn't use the network, or that were turn based).
We're starting to get into a realm where I no longer have any idea what I'm talking about, though, lol. Because a server frequently will have a pool of connections that's it's waiting on, and it'll send replies to whichever one is ready first.
We're starting to get into a realm where I no longer have any idea what I'm talking about, though, lol. Because a server frequently will have a pool of connections that's it's waiting on, and it'll send replies to whichever one is ready first.