Causes a job to be queued when a socket can be connected.
#include <prtpool.h> NSPR_API(PRJob *) PR_QueueJob_Connect( PRThreadPool *tpool, PRJobIoDesc *iod, const PRNetAddr *addr, PRJobFn fn, void * arg, PRBool joinable );
The function has the following parameters:
tpoolPRThreadPool structure previously created by a call to PR_CreateThreadPool.iodPRJobIoDesc structure.addrPRNetAddr structure for the socket being connected.fnargfn.joinablePR_TRUE, the job is joinable. If PR_FALSE, the job is not joinable. See PR_JoinJob.Pointer to a PRJob structure or NULL on error.