2 ms·
It's definitely the last point which is the main problem. We can start the server side and tell it to pick a port, but then we have to somehow communicate that
by rwmj 5y ago
It's definitely the last point which is the main problem. We can start the server side and tell it to pick a port, but then we have to somehow communicate that port to the test / client, and often that channel of communication doesn't really exist (or it's a hack like having the server print the port number on stdout - which is what qemu does). Unix domain sockets by contrast are an infinite private space that can be prepared in advance.