[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] How we can set timeout in blocking socket
From: |
ajeet_kr |
Subject: |
Re: [lwip-users] How we can set timeout in blocking socket |
Date: |
Wed, 3 Dec 2008 01:40:49 -0800 (PST) |
Dear All,
Thank you Kieran. Only select() function is supporting time out, no other
function support timeout.
Regards,
Ajeet
Kieran Mansley wrote:
>
> On Tue, 2008-12-02 at 22:25 -0800, ajeet_kr wrote:
>> Dear all,
>> I want to know it is possible to set timeout in blocking mode socket.
>> Please
>> suggest me on this.How we can do.
>
> I don't think lwIP supports this in general. Most socket operations are
> blocking, some support non-blocking, and a few like select() support a
> timeout. You can use the SO_RCVTIMEO socket option to set the recv()
> operation's timeout.
>
> Kieran
>
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
>
>
--
View this message in context:
http://www.nabble.com/How-we-can-set-timeout-in-blocking-socket-tp20807501p20809684.html
Sent from the lwip-users mailing list archive at Nabble.com.