Can anyone help me?

Jan 13, 2011 at 2:20 PM

This is my problem:
I have developed an application that lets you send data from a smartphone to a modem. Everything works and until recently I was happy. Controlling well I noticed a minor inconvenience. The state of the call was connected before the other side had responded and then they send some data were lost ...:-(...
can anyone tell me how can I tell when the modem is connected?

Please if you can help me. If there's something you do not understand write me ...