Open ghost opened 8 years ago
Unix domain sockets are for inter-process communication only. TCP sockets allow communication between machines/processes over the network.
Amnesia works on both cases (inter-process and inter-machine) but the main use case is for inter-machine communications....but, yes, there is going to be some overhead by using TCP on the loopback instead of UDS for inter-process communications.
For linux based systems? I know unix socket is unavailable for windows.. but I think unix socket would be ideal (better performance).
Would love to see if this would be possible, looks like somewhere in
function server() {
we can add the socket there.Or, is the TCP overhead not an issue? Will it ever be a bottleneck?