D3|\||\|!$ wrote, On 2008-03-05 03:02:

>     for (int i =0; ((i<10,000) && (err_status != PR_SUCCESS)); i++) {

Is that literally an exact copy of the code in your program?
If so, here's a hint: regardless of the value of i, the expression
 (i<10,000)  always has a value of zero.

> The client on the other hand(whether in blocking or non-blocking
> mode), tries to connect for sometime, then the compiler throws up a
> memory access violation error in ntdll.dll

I'm sure the compiler is not running when you're testing your code.
But perhaps the debugger is detecting it.

> indicating that some pointer access
> has gone awry... Sorry!!! I forgot to mention this detail earlier
> while starting the thread...
> The only pointers I have used in the PR_Connect function call are
> those of the listening socket and the PRNetAddr structure holding the
> address...
> 
> Could you kindly tell me where am I making the mistake...??? I'm
> simply helpless!!!

Sorry, Debugging your code is beyond the scope of this newsgroup.
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to