Regarding PING mechanism in UCP/EMI protocol | Search |
NowSMS Support Forums ⬆ MMS & SMS Technical Discussions (unsupported) ⬆ Archive through November 12, 2008 ⬆ |
◄ ► |
Author | Message | |||
Deepak Angeswar New member Username: Angeshwar Post Number: 11 Registered: 09-2006 |
Hello, I apologize if this question has already been posted. I have a java application that will run as a 24/7 service. it connects to a SMSC via UCP/EMI protocol. My application also needs to do a 'PING' to the SMSC (similar to the Enquire_Link and Enquire_Link_Resp of SMPP), I need to do this to make sure the session/connection is alive. Ill be doing this ping every 3 or 5 minutes. Until now I have been doing a ping using the java.net.* package which however this only checks if the connection with the SMSC-machine is live and not the actual UCP/EMI session! Is there any spec available in the UCP/EMI documentation that checks if the UCP session is alive or not. regards, Deepak. | |||
Nauman Malik New member Username: Nauman78 Post Number: 2 Registered: 07-2007 |
SMS delivery is not session based. | |||
Deepak Angeswar New member Username: Angeshwar Post Number: 12 Registered: 09-2006 |
Hello, Could you elaborate. Do you mean to say - I wont be needing a PING mechanism at all? what happens if for some reason the session breaks? can it happen? Whats the difference between the sessions in UCP and SMPP then? | |||
Nauman Malik New member Username: Nauman78 Post Number: 4 Registered: 07-2007 |
I am not sure about it. | |||
Deepak Angeswar New member Username: Angeshwar Post Number: 13 Registered: 09-2006 |
I looked into the documentation provided by the SMSC service provider, all it says is - to break a session or disconnect fropm the session - simply break the TCP connection. There is no information on pinging or session-management. So there is no session management then? So Session in UCP/IP protocol is a simple mechanism for authenticating the short-code and password? and nothing else? so there is no way a session can break? Would be great if some one from nowsms throw some light over this issue. |