Brew Question:
Download Questions PDF

When we terminate a data call by closing an open socket, why does the phone still indicate that a data call is in progress?

Answer:

After the last connected socket is closed, BREW waits for a certain linger time before terminating the PPP connection. Hence the lingering call-in-progress indication.

The default linger time is 30 seconds. To change the linger time, use INETMGR_SetLinger().

Download Brew Interview Questions And Answers PDF

Previous QuestionNext Question
Why does connect callback not timeout when service is lost (while attempting to connect) or the server does not respond?How to handle the case when we lose cellular coverage?