Message147284
| Author |
pitrou |
| Recipients |
ezio.melotti, jackdied, jcea, michael.foord, neologix, pitrou, terry.reedy, vstinner |
| Date |
2011年11月08日.12:00:53 |
| SpamBayes Score |
0.0007937311 |
| Marked as misclassified |
No |
| Message-id |
<1320753654.5.0.596440845249.issue11812@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> Anyway, we can keep using "localhost", but just delete the socket
> timeout in the server.
Please don't. Any problem might then hang the whole test suite.
You can bump it up if you want, though.
> About using getsockname(), the bind would bind to all IPs of the
> machine, including real network interfaces.
How so?
>>> sock = socket.socket()
>>> sock.bind(("localhost", 0))
>>> sock.getsockname()
('127.0.0.1', 60919) |
|