Simon: I know trace the code, it is really does what you said, it use the poll callback to implement this ... By the way , the web server written with RAW API is faster and stabler than the one with SOCKET..
That 's why httpd in contrib. package you write is with RAW API too . isn't it ? 锘?Vincent Cui Sr.Firmware Engineer Mobile: +8613482482211 Tel: +86 21 34612525x6104 Fax: +86 21 34619770 E-Mail: [email protected] Shanghai EnLogic Electric Technology Co., Ltd. Address: 1104-1106, Building A, No.391, Guiping Road, Xuhui District, Shanghai, 200233 http://www.enlogic.com -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Simon Goldschmidt Sent: 2011年9月19日 17:15 To: Mailing list for lwIP users Subject: Re: [lwip-users] recieve timeout for tcp RAW api vincent cui <[email protected]> wrote: > Socket api has function to set socket attribute with receive time out... > Is there raw api to do this ? No, the socket code uses netconn timeout. In the raw API you have to implement this on your own by either using the poll callback (tcp) or implementing a timeout on your own (e.g. using sys_timeout). Simon -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
