How to handle TCP retransmission
Hi,
I am developing a sms application using jsmpp api, once i crate a connection with the smsc my application is sending keep-alive messages every 30 seconds. During this process sometimes tcp retransmission is happening. So which means smsc getting two keep-alives before it sends back the ack for the first keep-alive which makes to throw negative response exception. Our smsc is not allowed for multiple connections.
I monitor this scenario using wireshark with running ozeki sms gateway. At that time tcp retranmission also happened. But any way I think that ozeki have managed to control the retransmission without disconnecting the connection. But i don't have any idea how to handle this retransmission.
Have someone experienced this kind of issue. Please help me to rectify this matter.
Thanks in advanced,
Uthpala