lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] tcp_close callback


From: address@hidden
Subject: Re: [lwip-users] tcp_close callback
Date: Tue, 04 Mar 2008 20:30:40 +0100
User-agent: Thunderbird 2.0.0.12 (Macintosh/20080213)

Bill,

I don't know exactly from where I took this info or where it is documented, but the recv callback is called with a NULL pointer when the connection has closed.

Simon


Bill Auerbach schrieb:

Hello,

I was wondering why there is no tcp_closed callback function. I suspect there’s a good reason. I have a PC-based status window using a socket and I’d like to write to the connection only when the port is opened. I start logging on the tcp_accept callback and I’d like to stop on a tcp_closed callback, or some other way to know the connection has closed. Does anyone have any ideas or thoughts on this? I probably can watch the pcb state, but I’m trying to have my application not go further than API calls if I can help it.

Thanks,

Bill

------------------------------------------------------------------------

_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users





reply via email to

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