Wednesday, 15 March 2017

How is socket data, inbound into a server, demultiplexed?

A socket is an IP/port tuple. A connection is a pair of sockets exchanging data.

Say two client sockets are both connected to the same socket on a server.

It seems to me that there must be some routing logic on the server to route messages from the clients to logical data sinks on the server so that a developer can conveniently receive information from a single client without interference from messages from other connected clients.

What subsystem or program typically implements this routing logic and is there a more canonical term than "routing logic"?



via Ben Aston

No comments:

Post a Comment