Regarding PING mechanism in UCP/EMI protocol

Regarding PING mechanism in UCP/EMI protocol SearchSearch
Author Message
Deepak Angeswar
New member
Username: Angeshwar

Post Number: 11
Registered: 09-2006
Posted on Tuesday, July 24, 2007 - 11:31 am:   

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
Posted on Tuesday, July 24, 2007 - 09:16 pm:   

SMS delivery is not session based.
Deepak Angeswar
New member
Username: Angeshwar

Post Number: 12
Registered: 09-2006
Posted on Wednesday, July 25, 2007 - 09:12 am:   

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
Posted on Tuesday, July 31, 2007 - 07:30 pm:   

I am not sure about it.
Deepak Angeswar
New member
Username: Angeshwar

Post Number: 13
Registered: 09-2006
Posted on Wednesday, August 01, 2007 - 10:24 am:   

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.