For example I communicate with SMS center throgh smpp protocol, and SMSC send to me FIN flag by tcp protocol instead of sending unbind throgh SMPP. Is it correct?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The unbind operation is optional, besides, it’s usually sent by the ESME to the MC, not vice versa.
Even if the MC usually sends unbind before connection close, there might be cases where it cannot do that (for example it detects some protocol error, thus cannot reliably send an unbind operation). In these cases the MC will just close the connection, so in your client you should handle the “naked close” case, too.