| Thread Previous • Date Previous • Date Next • Thread Next |
On 2012-09-11 18:47, John Arbash Meinel wrote:
b) --port is pretty obvious if we are going to be starting a server,
we need to know where to talk to it. We can use the
'socket.socket()' bind-but-don't-listen trick to get a new-random
port that we know is not already in use.
The ideal way to talk to it in tests and dev runs would be through a Unix domain socket, but that's probably a bit much to ask for.
Jeroen
| Thread Previous • Date Previous • Date Next • Thread Next |