ESock_Client 14 : Descriptor parameter error
| Thu, 2006-12-14 12:50 | |
|
Hi,
In my app i've a socket server listening on some port. Client sends an URL to my server. When socket server receives data i pass incomming data to observer and keep listening for more incomming data from connected client. smth like this: void CSocketEngine::RunL() { if (iStatus == KErrNone) { iObserver.HandleUrl(iBuffer); IssueReceive(); // Issue socket.RecvOnceOrMore() again } } In Observer's HandleUrl(......) i'm starting a socket base http engine to download image from web server. Both engines (Socket server, and socket based http client) are AO. upto here all goes fine. I get : ESock_Client 14 : Descriptor parameter error when socket client disconnects from server or sends another url ( Could any1 explain me a bit whats wrong? Thanks ahead!! |
|






(
Forum posts: 30
Forum posts: 152
Make sure that whatever buffer you are using remain valid during the lifetime of the any async Esock function using the buffer.