This question is NOT for the difference between STREAM type and DATAGRAM type INTERNET sockets. I know that STREAM sockets use TCP, Datagram sockets use UDP and all the T
If the clients and servers will always be on the same machine and the goal is to have minimal latency and maximum bandwidth, use shared memory.