[Top][All Lists]

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

[lwip-devel] [bug #26069] Documentation of tcp_connect() incorrectly des

From: Kieran Mansley
Subject: [lwip-devel] [bug #26069] Documentation of tcp_connect() incorrectly describes handling of errors
Date: Fri, 03 Apr 2009 10:19:11 +0000
User-agent: Opera/9.21 (X11; Linux i686; U; en)

Follow-up Comment #13, bug #26069 (project lwip):

I'm going to change the documentation.

If we were starting from scratch, there's a case for calling
TCP_EVENT_CONNECTED, but changing this would break all the existing users of
the raw API, including the netconn and socket layers included in lwIP, which
is something I want to avoid.

Although it's odd that you wait on TCP_EVENT_CONNECTED for success and
TCP_EVENT_ERR for failure, it would also be odd that you wait on
TCP_EVENT_CONNECTED for connection errors, and TCP_EVENT_ERR for all other


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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