System.Net.Sockets.SocketException

Smpp v3.4 client

Moderator: alt

Locked
Kanyungu
Posts: 2
Joined: Mon Mar 22, 2010 1:11 pm
Location: Kenya
Contact:

System.Net.Sockets.SocketException

Post by Kanyungu » Mon Mar 22, 2010 1:15 pm

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




Windows logs show
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: smppclientdemo.exe
Problem Signature 02: 1.1.3733.29857
Problem Signature 03: 4ba77213
Problem Signature 04: mscorlib
Problem Signature 05: 2.0.0.0
Problem Signature 06: 48ead7c2
Problem Signature 07: 116e
Problem Signature 08: 4f
Problem Signature 09: System.InvalidOperationException
OS Version: 6.0.6001.2.1.0.274.10
Locale ID: 1033
Mem Maina.
Ujinga ni ELimu ya bure
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

Post by alt » Tue Mar 30, 2010 5:32 pm

Is this error appears too often?
Usually it is normal situation when SMSC drops connection.
Kanyungu
Posts: 2
Joined: Mon Mar 22, 2010 1:11 pm
Location: Kenya
Contact:

Post by Kanyungu » Wed Mar 31, 2010 8:24 am

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!
Mem Maina.
Ujinga ni ELimu ya bure
Locked