PDA

View Full Version : Suspend n resume on Socket


jatin
05-17-2007, 06:05 AM
Hi all,
I need some lucid explation of below senerio.Please help me out.
1.Suppose my socket is opened and we r getting data.Will application suspend in this situation on voice call?
2.ISocket is opened but idle means we are not getting any data.Will application suspend on voice call?
Thanks
-Jatin

ebrowne
05-18-2007, 02:31 PM
Since this is the 2.1 forum, I'll assume that the phone is using a 1X network. A phone in 1X can't receive voice calls when a data connection is open.

-Erik

jmiller2
05-18-2007, 10:37 PM
Hi all,
I need some lucid explation of below senerio.Please help me out.
1.Suppose my socket is opened and we r getting data.Will application suspend in this situation on voice call?
2.ISocket is opened but idle means we are not getting any data.Will application suspend on voice call?
Thanks
-Jatin

If you are sent a suspend message then you are required
to close the socket. If you are not then, it might be up to you
(depending on the carriers requirements) to monitor for the
incomming call and suspend (see TAPI). To pass NSTL you need to close
the socket when you get a suspend...but NSTL requirements
do not always match exactly with carrier requirements. Best to
check with both.

cistearns
05-21-2007, 05:15 PM
On a 1x network you will not see a suspend for the phone call. Calls to a phone with an active 1x data connection get sent directly to voice mail.