lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] tcp_connection return code for tcp_output?


From: Tim Michals
Subject: [lwip-devel] tcp_connection return code for tcp_output?
Date: Wed, 12 Apr 2017 10:04:23 -0500

Should the return code be returned when calling tcp_output(pcb)?

For example:
err_t
tcp_connect(struct tcp_pcb *pcb, const ip_addr_t *ipaddr, u16_t port,
      tcp_connected_fn connected)
{
...
    ret=tcp_output(pcb);  <--- Add a return code?
  }
  return ret;
}

reply via email to

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