In my application I send a data to a TCP server.
Later I try to close the socket and the gprs.
To close the socket I send :
ed_SendDataExt( “”, 0, TRUE, ED_ID_TCPSOCKET_1 );
To close the gprs I use :
When The GPRS is deact in TCPHandler(s32 ResponseCode, TeDHandle id)
the ResponseCode is :ED_ERR_GPRS_SESSION_LOST and if I restart the GPRS ed the new socket I always have the same answer.
I have also used : ed_DialupConnectionStop(); after I receive ED_OK_ON _HOOK but then in
TCPHandler(s32 ResponseCode, TeDHandle id)
the ResponseCode is always ED_ERR_GPRS_SESSION_LOST
Can you help me?