Does anyone know if it is possible to determine the number of bytes
available to read via NetLibReceive before you make the call?

NetLibSelect tells you that there *is* data, but not the number of bytes
ready to be read.

It seems as though you should be able to call NetLibReceive with
flags=netIOFlagPeek to return the number of bytes that can be read, w/o
actually reading the data, but that does not seem to work. (It seems to
read the data anyway, ie, the flag seems to be ignored).

Brian
_____________________________________________________________________
Mark/Space Softworks                               voice 408-293-7299
111 West Saint John, 3rd Floor                       fax 408-293-7298
San Jose, CA 95113                         <http://www.markspace.com>

        PalmOS, Mac OS, Windows and Web Software & Solutions:

         PageNOW! Wireless Messaging, PhoneWatcher Caller ID,
     Online & Communicate terminal emulation and serial debugging

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to