I've seen this problem in the msg board before but never a solution.
I setup non-blocking and am trying to do a netlibreceive. If i step through it
in the pods debugger, it works well, but I i run it in the simulator or in my
palm, i get netInternalErr. I've tried playing with the netlibreceive timeout
with no success.
Any Ideas?
do
{
bytesRead = NetLibReceive(netinfo->netlibrefnum,
netinfo->socketrefnum,(void *)pBuffer, totalBytesToRead, 0,NULL,
0,netinfo->timeout, pErr);
++timeoutCounter;
} while ((*pErr == netErrWouldBlock) && (timeoutCounter < netinfo->timeout*5));
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/