Reputation: 1213
What could cause a socket to stop working on one end?
For example: I'm using a System.Net.Sockets.Socket
and use it to transfer binary data. However on select occasions the client-end of the socket stops working. Data still gets received from the server and works as expected. The client code also seems to work fine (no exceptions up to the actual Write) but the data is magically lost and never arrives to the server.
Additions:
One of the features of our software allows people to upload files through an out-of-browser silverlight application.
This error happens specifically when using the application on Mac OSX and uploading multiple files. This works fine on Windows! And uploading just a single file on OSX works fine as well.
Upvotes: 0
Views: 170
Reputation: 35869
All sorts of reasons. there could be a network hickup braking the connection; the client could fail, etc.
Are you catching exceptions when communicating with the socket on the client?
Upvotes: 1