Message3688

Author frt
Recipients frt
Date 2008-10-16.07:58:37
SpamBayes Score 7.710807e-07
Marked as misclassified No
Message-id <1224143918.32.0.122708550736.issue1154@psf.upfronthosting.co.za>
In-reply-to
Content
Setting timeout on a socket does not work.

Sample code:
    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    s.settimeout(3)
    s.connect((HOST, PORT))
    data = s.recv(8)

Using Jython 2.2.1 on java1.6.0_07, the recv call blocks indefinitely.
History
Date User Action Args
2008-10-16 07:58:38frtsetrecipients: + frt
2008-10-16 07:58:38frtsetmessageid: <1224143918.32.0.122708550736.issue1154@psf.upfronthosting.co.za>
2008-10-16 07:58:38frtlinkissue1154 messages
2008-10-16 07:58:37frtcreate