Hi all,
How does non-blocking sockets work internally? In a blocking socket, server is listening on a port and when clients contact server, a dedicated ClientScoket is created to handle each specific client to pass messages back and forth.
Is essentially the same thing happen but under the hood in case of non-blocking sockets? And if not, how does server keep track of the each client's socket?
Thanks,
Payam.
How does non-blocking sockets work internally? In a blocking socket, server is listening on a port and when clients contact server, a dedicated ClientScoket is created to handle each specific client to pass messages back and forth.
Is essentially the same thing happen but under the hood in case of non-blocking sockets? And if not, how does server keep track of the each client's socket?
Thanks,
Payam.