dswifi recv() waitng

Post Reply
3tis
Posts: 1
Joined: Sun Sep 05, 2010 11:29 am

dswifi recv() waitng

Post by 3tis » Sun Sep 05, 2010 11:40 am

Hello,
is there any way to check if there is data waiting to be read by recv() function from dswifi lib?

elhobbs
Posts: 358
Joined: Thu Jul 02, 2009 1:19 pm

Re: dswifi recv() waitng

Post by elhobbs » Sun Sep 05, 2010 3:37 pm

Code: Select all

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

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 2 guests