mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-27 06:14:09 +00:00
Fixed bug #26069: Corrected documentation: if tcp_connect fails, pcb->err is called, not pcb->connected (with an error code).
This commit is contained in:
parent
51e02176da
commit
029b786c77
@ -88,6 +88,10 @@ HISTORY
|
|||||||
|
|
||||||
++ Bugfixes:
|
++ Bugfixes:
|
||||||
|
|
||||||
|
2009-04-19 Simon Goldschmidt
|
||||||
|
* rawapi.txt: Fixed bug #26069: Corrected documentation: if tcp_connect fails,
|
||||||
|
pcb->err is called, not pcb->connected (with an error code).
|
||||||
|
|
||||||
2009-04-19 Simon Goldschmidt
|
2009-04-19 Simon Goldschmidt
|
||||||
* tcp_out.c: Fixed bug #26236: "TCP options (timestamp) don't work with
|
* tcp_out.c: Fixed bug #26236: "TCP options (timestamp) don't work with
|
||||||
no-copy-tcpwrite": deallocate option data, only concat segments with same flags
|
no-copy-tcpwrite": deallocate option data, only concat segments with same flags
|
||||||
|
@ -128,8 +128,9 @@ incoming connections or be explicitly connected to another host.
|
|||||||
function specified as the fourth argument (the "connected" argument)
|
function specified as the fourth argument (the "connected" argument)
|
||||||
when the connection is established. If the connection could not be
|
when the connection is established. If the connection could not be
|
||||||
properly established, either because the other host refused the
|
properly established, either because the other host refused the
|
||||||
connection or because the other host didn't answer, the "connected"
|
connection or because the other host didn't answer, the "err"
|
||||||
function will be called with an the "err" argument set accordingly.
|
callback function of this pcb (registered with tcp_err, see below)
|
||||||
|
will be called.
|
||||||
|
|
||||||
The tcp_connect() function can return ERR_MEM if no memory is
|
The tcp_connect() function can return ERR_MEM if no memory is
|
||||||
available for enqueueing the SYN segment. If the SYN indeed was
|
available for enqueueing the SYN segment. If the SYN indeed was
|
||||||
|
Loading…
Reference in New Issue
Block a user