I am new bee in symbian.
I have tried to set up TCP-Listener on Wifi. I have been suceed to established the Active object for the same and code is working fine for first connection.
Now Problems :
1. when i start my listener apps ...I can handle one request correctly and code keeps on listening the data from the client connected ... but Now ....
i. if the Client apps(device ) is shutdown due to lets say power fail at their end, my application is not able to detect that, other device is not connected to it. HOW CAN I DETECT THAT OTHER DEVICE i.e Client is disconnected......?????
Here is code snippet
// Connected listening socket!
// Returned from receiving data
// TODO: Do something with received data
// Start expecting next data to be read
// Set state to waiting - for RunL()
iState = EWaiting;
// Make async request
iSock.RecvOneOrMore(iBuffer, 0, iStatus, iLen);