Socket operation on a non-socket - WeOnlyDo Discussion board

Socket operation on a non-socket (wodSmtp)

by Luca, Saturday, December 23, 2006, 16:30 (6306 days ago)

I've developed a (quite complex) application which uses two wodSmtp components in non-blocking mode simultaneously. Each one of the two components sends a message, disconects, reconnects, sends another one, etc.

Some of my users are experiencing a socket operation on a non-socket error ; this occur at random (sometimes the problem disappear, then reappears) without any recognizable path. And it is very hard to be reproduced on other machines.

My application does not deal with sockets directly; all operations are demanded to wodSmtp, which is accessing the socket.

What can be causing this error? What should I suggest to my users? Are there any best-pratictes , or things to be avoided, in order to solve the error?

Since reproducing the error is hard, what I need is an explanation of which situations (or wodSmtp programming pratcices) could lead to that error.

Thank you


Complete thread: