Reputation: 9569
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?
Upvotes: 0
Views: 554
Reputation: 6331
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.
Upvotes: 1