lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] TCP client waiting for answer from server


From: Simon Goldschmidt
Subject: Re: [lwip-users] TCP client waiting for answer from server
Date: Wed, 18 May 2011 08:39:34 +0200

"Walter Saegesser" <address@hidden> wrote:
> I see there is a compiler switch
> 'LWIP_SO_RCVTIMEO', which is disabled by default. Is this the means to
> accomplish a time-out - and what would be the time - or are there other
> schemes?

If you have seen the compiler switch, you might have seen that it enables a 
'recv_timeout' member in struct netconn, which can be modified using 
netconn_set_recvtimeout()/netconn_get_recvtimeout() to set the timeout in 
miliseconds. The default is 0, which means no timeout/wait forever, so default 
behaviour does not change when the compiler switch is enabled.

Simon
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de



reply via email to

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