Brew Question:
Download Questions PDF

Why does ISOCKET_Release() return one when we are expecting a return value of zero?


When an application calls ISOCKET_Release(), the internal state of the ISocket object changes to "closing," and BREW begins waiting for the asynchronous "closed" event. Since the closed event is received in a callback, the reference count of the ISocket object is incremented to prevent it from being released before its internal state changes to closed.

Download Brew Interview Questions And Answers PDF

Previous QuestionNext Question
Explain about Binary Runtime Environment (BREW)?Why does ISHELL_CreateInstance return ECLASSNOTSUPPORT when I try and create an instance of the net manager (AEECLSID_Net)?