Discussion:
State Questions
(too old to reply)
Adam Jiang
2008-11-22 05:20:46 UTC
Permalink
To clarify,

for the CONNECT event from the CLOSED state, does blocking refer to putting
the thread that called connect() to sleep?
- what should we do when we get to a protocol error or protocol deadlock?
- what does it mean by block on CONNECT from the CLOSED state?
Arthur Klepchukov
2008-11-23 01:11:20 UTC
Permalink
It's an implementation detail and up to you; just make sure connect()
doesn't return a file descriptor until an actual, valid connection (one
your can read from and write to) is available.
Post by Adam Jiang
for the CONNECT event from the CLOSED state, does blocking refer to
putting the thread that called connect() to sleep?
Loading...