I use SMPP client on two different SMSC.
So I instanciated two SMPP clients.
All is OK but sometimes event evDisconnected is fired by one of the SMSC disconnection.
I added some code to reconnect in that particular case.
The trouble is that in my "connected" event manager the parameter "bSuccess" is false :
Code: Select all
private static void ClientSmppConnected(object sender, bool bSuccess)
If I execute "netstat -n" on my server, I can see that socket on first SMSC is OK (up, alive) and the one on which "disconnected" event was fired is not OK.
Can you explain me how to keep my SMSC connections alive or how to reconnect again after event "evDisconnected" is fired ?
Thank you.