Socket Exception With Async End receive RRS feed

  • Question

  • Hi

    I have created UDP Server. I have Used Socket for the UDP server. When the remot device is fine the UDP Socket works vary fine. to test stress on the server i have created simulator which can produce large ammount of devices and send the data to the server. i am facing the problem if any of the device i close. In the async Socket End method i am getting below method.

     System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
       at System.Net.Sockets.Socket.EndReceiveFrom(IAsyncResult asyncResult, EndPoint& endPoint)
       at VPS.SecurePassCore.SessionManager.DoReceiveFrom(IAsyncResult ar)

    dose any one have any idea ?

    Regards, Preetam Ramdhave

    Thursday, May 23, 2013 8:43 AM