sajad torkamani
TCP socketsUnix domain sockets
ScopeUsed for communication between processes running on different machines.Used for communication between processes running on the same machine.
AddressingCombination of IP address and port number.File system path.
PerformanceUse the TCP/IP protocol so slower and susceptible to congestion/latency.Doesn’t require the overhead of the TCP/IP protocol so much faster.
Tagged: Networking