On Mon, 2009-05-11 at 10:32 +0200, ncoage wrote:
> Hi,
> 
> I'm using sockets API to receive some data from remote device. Is it
> possible to read incoming data without using function read(). I want
> to use directly internal buffer of the socket and want to get to know
> how many bytes are in the buffer. If its not possible - is there a
> method to check how many bytes I can read before reading them?

No, the sockets API doesn't work like that.  Are you sure you can safely
use the internal buffer of the socket?  It doesn't sound safe to me.

Kieran



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to