Basically the problem is this (in psuedo code)

create socket
set APR_SO_NONBLOCK
connect to server
recv   <-- this blocks.

I was under the impression that by setting APR_SO_NONBLOCK that recv and
send functions would not block and return immediately if there was no
data available.

I saw a post suggesting a send call is required before recv so it won't
block, so I tried that. recv will still block after a write.

Am I missing something?

Justin



Reply via email to