Non-blocking TCP connect()
Smith, Gene
Gene.Smith at sea.siemens.com
Wed Aug 16 17:39:37 UTC 2000
I have observed that when I do a non-blocking connect() to a host which is
not listening I get errno=ECONNREFUSED when connect() returns with -1. I
thought I should get EINPROGRESS and a transition to readable AND writable,
according to what I see in Stevens UNP. I have set the socket option flag
O_NONBLOCK.
I am using the latest version of rtems_syscall.c, version 1.13.2.2, which
contain a fix for errors returned by connect().
-Gene
More information about the users
mailing list