[20] in 6.033-lab
"select" problem
daemon@ATHENA.MIT.EDU (Minh T. Thai)
Wed Mar 26 01:56:40 1997
To: 6.033-lab@MIT.EDU
Date: Wed, 26 Mar 1997 01:56:11 EST
From: "Minh T. Thai" <mtthai@MIT.EDU>
Hi:
I ran into another problem. I try to re-send a packet if I don't
receive ACK from the receiver, so I use a timer with "select".
Assuming my receiver is down (ie I turn it off), so the first timer go
off, no response. When I try to block it again with "select",
"select" return right away, saying that packet (ACK) arrives, I then
try to read from that port with "recvfrom" then I get a "connection
refused" error. Shouldn't "select" return at the second block?
Thanks,
MINH
---------
Minh Thanh Thai
476 Memorial Drive, Rm. 513 Email: mtthai@mit.edu
Cambridge, MA 02139 Phone: (617)225-7690
http://mit.edu/mtthai/www/