[Mono-dev] WCF Fail with System.Net.Sockets.SocketException: Connection reset by peer
robwilkens at gmail.com
Fri Jun 29 10:15:01 UTC 2012
Thanks - I'm on my mac now and trying to set up mono develop.. It appears to have an easier time with the alpha version of mono, but then it said 'update available' and downloaded an older version then stopped working again, I'll get it soon. Otherwise, I'll be on my linux laptop soon, just wanted to set up a second machine to test on since networking code sometimes works better when it's not just localhost to localhost.
On Jun 28, 2012, at 6:35 PM, shahbour wrote:
> Hello Rob
> I am attaching a simple application to demonstrate the error we are getting.
> Unfortunately using the above example the server is not crashing but still
> it raise the error (note that in my live app , some time it do the same but
> crash more)
> If you run the server like below you will notice the error
> mono --debug --trace=N:nothing TestWCFServer.exe
> Press enter to exit
> [0xb0a7d000:] EXCEPTION handling: System.Net.Sockets.SocketException:
> Connection reset by peer
> [0xb0a7d000:] EXCEPTION handling: System.IO.IOException: EndRead failure
> To run the example just start the server , then start the client and before
> getting the result back from server close it (Ctrl+C)
> I put a delay in the server to demonstrate the request over internet and to
> have time to close it. After you close it by small time the application will
> raise the above error .
> Tomorrow I will change the client to a silver light application to simulate
> exactly my application because the server crash approximately every time I
> close the browser before getting the result in my live example.
> View this message in context: http://mono.1490590.n4.nabble.com/WCF-Fail-with-System-Net-Sockets-SocketException-Connection-reset-by-peer-tp4650173p4650235.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