Non-blocking TCP connect()

Smith, Gene Gene.Smith at
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

I am using the latest version of rtems_syscall.c, version, which
contain a fix for errors returned by connect().


More information about the users mailing list