Re: [lwip-users] problem closing a stream

2012-03-16 Thread goldsi...@gmx.de
trex7 wrote: When I call tcp_close() lwip sends fin and the servers ack it. But the server never sends fin and continues sending data. TCP provides full duplex connections: the fact that you close your side of the connection doesn't necessarily mean the server also has to close the connection

[lwip-users] problem closing a stream

2012-03-16 Thread trex7
Hi, I'm using lwip 1.3.2 in an audio stream client application. I close my application like this: static void httpclient_connection_close(struct tcp_pcb *tpcb, struct httpclient * hc ) { if (hc->pcb) { tcp_arg(hc->pcb, NULL); tcp_sent(hc->pcb, NULL);