lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Closing connections


From: Robert
Subject: Re: [lwip-users] Closing connections
Date: Thu, 16 Oct 2003 07:44:50 -0400 (EDT)

On Thu, 16 Oct 2003, Leon wrote:
> do you know if your answer is documented in lwIP somewhere?

Yes, the documentation does indicate this method of indicating end of 
file, or the closing of the connection by the other end.

"- void tcp_recv(struct tcp_pcb *pcb,
                err_t (* recv)(void *arg, struct tcp_pcb *tpcb,
                               struct pbuf *p, err_t err))

  Sets the callback function that will be called when new data
  arrives. The callback function will be passed a NULL pbuf to
  indicate that the remote host has closed the connection."


-- 
Best Regards,
Robert 






reply via email to

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