Fredrik Lundh fredrik at
Sun Oct 9 09:01:18 CEST 2005

"rtilley" wrote:
> Perhaps this is a dumb question... but here goes. Should a socket client
> and a socket server each have different values for
> socket.setdefaulttimeout() what happens? Does the one with the shortest
> timeout period end first?

the timeout is a local setting, so the each process will time out
according to its own settings.

(but in reality, since sockets are about communication between
two parties, it's quite likely that the other end has already given
up when your side times out.)


More information about the Python-list mailing list