lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] How we can set timeout in blocking socket


From: Kieran Mansley
Subject: Re: [lwip-users] How we can set timeout in blocking socket
Date: Wed, 03 Dec 2008 09:07:52 +0000

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





reply via email to

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