[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Raw api + multiple TCP Connections
From: |
Noam Weissman |
Subject: |
Re: [lwip-users] Raw api + multiple TCP Connections |
Date: |
Mon, 22 May 2017 13:31:22 +0000 |
Simon,
I did this while working on my own code, was not paying attention ....
My mistake, I thought that pcb->local_port means working port while
pcb->listenr->local_port is the server port
OK :-(
Noam.
-----Original Message-----
From: lwip-users [mailto:address@hidden On Behalf Of Simon Goldschmidt
Sent: Monday, May 22, 2017 4:10 PM
To: address@hidden
Subject: Re: [lwip-users] Raw api + multiple TCP Connections
Noam Weissman wrote:
> If you use Lwip 1.41 the tcp_accepted function should accept the
> SERVER pcb and not the new connection pcb
In the initial post, he said he's using 2.0.2, not 1.4.1 (what's that 1.41
again?)
> Your accept function is wrong.
I fail to see the difference between your accept function and Werner's...
Werner,
In the end, I fully agree with Jan: lwIP does not produce hard faults on its
own (if a hard fault is what you get, I can't tell from your mails). You can
only debug that yourself at your board.
Simon
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
- [lwip-users] Raw api + multiple TCP Connections, Werner Motz, 2017/05/22
- Re: [lwip-users] Raw api + multiple TCP Connections, Noam Weissman, 2017/05/22
- Re: [lwip-users] Raw api + multiple TCP Connections, Werner Motz, 2017/05/22
- Re: [lwip-users] Raw api + multiple TCP Connections, Noam Weissman, 2017/05/22
- Re: [lwip-users] Raw api + multiple TCP Connections, Werner Motz, 2017/05/22
- Re: [lwip-users] Raw api + multiple TCP Connections, Noam Weissman, 2017/05/22
- Re: [lwip-users] Raw api + multiple TCP Connections, Simon Goldschmidt, 2017/05/22
- Re: [lwip-users] Raw api + multiple TCP Connections,
Noam Weissman <=
- Re: [lwip-users] Raw api + multiple TCP Connections, Simon Goldschmidt, 2017/05/22
- Re: [lwip-users] Raw api + multiple TCP Connections, Werner Motz, 2017/05/26
- Re: [lwip-users] Raw api + multiple TCP Connections, Joel Cunningham, 2017/05/27
- Re: [lwip-users] Raw api + multiple TCP Connections, Jan Menzel, 2017/05/22
- Re: [lwip-users] Raw api + multiple TCP Connections, Noam Weissman, 2017/05/22
- Re: [lwip-users] Raw api + multiple TCP Connections, Simon Goldschmidt, 2017/05/22