Sorry for the ambiguity...
I want to make a connection to a remote host with me being the client.
The problem is that I need to handle other tasks while I wait for the connection to occur
(i.e. create socket, initiate connection, do something else, check connection status).
I don't want to be stuck waiting for connect() to return.
I know I could fork to do concurrent stuff but I'm just curious as to if it's possible.