lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] lwip_select never returns value > 0


From: contact
Subject: Re: [lwip-users] lwip_select never returns value > 0
Date: Tue, 14 Mar 2017 18:10:03 +0530

Hi Nenad,

 

Did you check errno?

 

Regards,

Ajay Bhargav

 

 

From: pekez
Sent: Tuesday, March 14, 2017 5:51 PM
To: Mailing list for lwIP users
Subject: [lwip-users] lwip_select never returns value > 0

 

Hi people,

 

I am trying to use lwip_select in combination with lwip_recv. I have

done it like this so far:

 

FD_ZERO(&rfds);

FD_SET(new_sd, &rfds);

tv.tv_sec = 0;

tv.tv_usec = 200000;

 

if (lwip_select(new_sd + 1, &rfds, NULL, NULL, &tv) > 0)

{

     lwip_recv()

 

}

 

No matter what, timeout always exceeds. Am I doing anything wrong?

Should I include some lwip option in order to use lwip_select()?

I am using lwip v1.4.1.

 

Regards,

Nenad

 

 

_______________________________________________

lwip-users mailing list

address@hidden

https://lists.nongnu.org/mailman/listinfo/lwip-users

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]