Page 1 of 1

dswifi recv() waitng

Posted: Sun Sep 05, 2010 11:40 am
by 3tis
Hello,
is there any way to check if there is data waiting to be read by recv() function from dswifi lib?

Re: dswifi recv() waitng

Posted: Sun Sep 05, 2010 3:37 pm
by elhobbs

Code: Select all

unsigned long available;
ioctl (socket, FIONREAD, &available);