Detecting a socket has closed – NO CARRIER

5 thoughts on “Detecting a socket has closed – NO CARRIER

  1. Hi All,


    How do you detect if a socket has been closed from the remote end (not the modem side), without using DCD I/O line?


    If the socket is closed, the modem sends NO CARRIER, but its not much help when your micro thinks its still in transparant comms mode.


    Any ideas?






      1. Hi Cosmin,


        Thanks for the reply but thats not what I was asking.


        If the socket is disconnected, the message NO CARRIER is sent, but this just looks like data?


        How do you detect the socket disconnected?