D3|\||\|!$ wrote, On 2008-03-04 04:19:
>> selfserv uses blocking sockets.
> 
> I tried turning the PR_SockOpt_Nonblocking given at the below link to
> PR_TRUE to see if the clien't behaviour changed but now the PR_Accept
> function is throwing PR_WOULD_BLOCK_ERROR(The operation would have
> blocked). How do I circumvent this..??? Kindly suggest a solution to
> my problem...

This is exactly the expected behavior of a non-blocking socket.
Again, I suggest you study about non-blocking sockets.

I'm surprised that you changed selfserv and not tstclnt, given that the
results you reported before seemed to show that selfserv was working OK
and your problem was with tstclnt.
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to