[Mono-dev] WCF Fail with System.Net.Sockets.SocketException: Connection reset by peer
robwilkens at gmail.com
Tue Jun 26 20:04:00 UTC 2012
WCF ("Windows" communication foundation) sounds remarkably platform
specific, but without knowing anything else, i bet they implemented it
in mono anyway....
Says that the IErrorHandler should return a value indicating whether
the dispatcher aborts the session or not. I"m curious if you're
returning true or false in the case of a SocketException indicating
the connection was reset by peer? I might suggest returning a value
indicating that you do want to abort the session (but not the whole
program) at that point, because this will allow it, in theory, to exit
that session's processing without necessarily crashing the whole
On Tue, Jun 26, 2012 at 1:43 PM, shahbour <shahbour at gmail.com> wrote:
> Hello Rob
> You are correct this happen when the client (Silverlight application)
> request a query and then close the browser immediately before getting the
> response .
> I tried to handle the error in my Console Application (i implemented
> IErrorHandler in WCF) to handle all errors still no luck.
> Also i did Try Catch on my service method but still at some point the
> Console application crash .
> View this message in context: http://mono.1490590.n4.nabble.com/WCF-Fail-with-System-Net-Sockets-SocketException-Connection-reset-by-peer-tp4650173p4650182.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list