[comp.unix.questions] connect to a non-blocking socket

jackliu@unix.cis.pitt.edu (Jaw-wu Liou) (04/20/91)

From: jwliou@sun2.cs.pitt.edu (Jaw-Wu Liou)
Path: sun2.cs.pitt.edu!jwliou
Newsgroups: comp.unix.questions
Subject: connect to non-blocking socket
Expires: 
References: 
Sender: 
Reply-To: jwliou@sun2.cs.pitt.edu (Jaw-Wu Liou)
Followup-To: 
Distribution: world
Organization: Computer Science Dept., Univ. of Pittsburgh
Keywords: 

i am implementing a remote procedure call module on sun/3 using
lightweight process, both the client and server models are linked with
non-blocking i/o library, question is : how can i connect to a
non-blocking socket without geting a EINPROGRESS (errno = 36), the
manual page of connect suggested using select, it won't work, may be i
didnot use it correctly, can any body out there tell me how to solve
this problem? thanks in advance!

From: jwliou@sun2.cs.pitt.edu (Jaw-Wu Liou)
Path: sun2.cs.pitt.edu!jwliou
Newsgroups: comp.unix.questions
Subject: connect to a non-blocking socket
Expires: 
References: 
Sender: 
Reply-To: jwliou@sun2.cs.pitt.edu (Jaw-Wu Liou)
Followup-To: 
Distribution: world
Organization: Computer Science Dept., Univ. of Pittsburgh
Keywords: 

From: jwliou@sun2.cs.pitt.edu (Jaw-Wu Liou)
Path: sun2.cs.pitt.edu!jwliou
Newsgroups: comp.unix.questions
Subject: connect to non-blocking socket
Expires: 
References: 
Sender: 
Reply-To: jwliou@sun2.cs.pitt.edu (Jaw-Wu Liou)
Followup-To: 
Distribution: world
Organization: Computer Science Dept., Univ. of Pittsburgh
Keywords: 

i am implementing a remote procedure call module on sun/3 using
lightweight process, both the client and server models are linked with
non-blocking i/o library, question is : how can i connect to a
non-blocking socket without geting a EINPROGRESS (errno = 36), the
manual page of connect suggested using select, it won't work, may be i
didnot use it correctly, can any body out there tell me how to solve
this problem? thanks in advance!