The occurrence of this error has been reducing gradually from 4 times in a day to once in 2 days now. but i found a workaround.
Whenever a disconnection occurs, I force-restart the SMPP client with default values loaded and force a connection in 3 seconds.
Its works for now!
Search found 2 matches
- Wed Mar 31, 2010 8:24 am
- Forum: ALT.SMS.SmppClient
- Topic: System.Net.Sockets.SocketException
- Replies: 2
- Views: 16527
- Mon Mar 22, 2010 1:15 pm
- Forum: ALT.SMS.SmppClient
- Topic: System.Net.Sockets.SocketException
- Replies: 2
- Views: 16527
System.Net.Sockets.SocketException
How do i solve this error
2:39:44 PM: Exception:System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
at ALT.SMS.SmppClient.kbhdt2w9C(IAsyncResult )
2:39:44 PM: SmppClient disconnected ...
2:39:44 PM: Exception:System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
at ALT.SMS.SmppClient.kbhdt2w9C(IAsyncResult )
2:39:44 PM: SmppClient disconnected ...