开发者

SMPP Simulator: How to check connection reset?

开发者 https://www.devze.com 2022-12-13 16:48 出处:网络
Im using the smpp simulator tht comes with the Logica smpp api as a virtual smsc. The simulator is not able to detect any connection resets, whn a smpp client disconnects abrupty without sending an un

Im using the smpp simulator tht comes with the Logica smpp api as a virtual smsc. The simulator is not able to detect any connection resets, whn a smpp client disconnects abrupty without sending an unbind PDU. The SMSCSession class in the simulator does not handle/catch any exceptions, while sending a PDU such as DeliverSM. So, how do you identify if there is socket error.

On the sm开发者_如何学JAVApp client side, u have enquirelink pdu to check for the connection. Similarly, is there any option to check for the connection from the simulator side..

Thanks, Vishnupriya


I've been using this SMPP simulator:

SMPP sim

It works very well, and detects a lot of ill-formed PDU's. Also connection resets are detected.

0

精彩评论

暂无评论...
验证码 换一张
取 消