socket.setdefaulttimeout()

R

rtilley

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?
 
F

Fredrik Lundh

rtilley said:
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.)

</F>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top