Re: [lwip-users] Simultaneous GET requests to HTTP Server

2017-06-20 Thread Simeon Trifonov
When I'm looking in my code, I think that this was exactly the problem that I have solved. Nevertheless, I removed my changes and I used the original state of the stack. I have the same problem again, so now I'm sure that at least my changes are not the reason for the problem that I'm trying

Re: [lwip-users] A new users request for help with sending TCP Packets on Demand

2017-06-20 Thread Noam Weissman
Hi, I would suggest upgrading to lwip 1.41 and take a look at this: http://download.savannah.nongnu.org/releases/lwip/ http://lwip.wikia.com/wiki/Raw/TCP Raw/TCP | lwIP Wiki | Fandom powered by Wikia lwip.wikia.com Initialization Edit. lwip_init() must be

Re: [lwip-users] A new users request for help with sending TCP Packets on Demand

2017-06-20 Thread mitchj
Precisely, a TCP client is exactly what I need. I'm looking at both the lwip src and contrib for LWIP 1.4.0 and did not find one instance of tcp_connect. The only ones I see that is related to raw tcp at all is a server and does tcp_accept(echo_pcb, echo_accept); ... and similar in the http

Re: [lwip-users] Simultaneous GET requests to HTTP Server

2017-06-20 Thread goldsi...@gmx.de
Simeon Trifonov wrote: Probably you will ask now what kind of bug I mean. I don't remember, but I will try to find out. Probably my fix is not the best and you can offer me another one. If the bug was not being able to use PBUF_REF/PBUF_ROM for input (since pbuf_header does not work in

Re: [lwip-users] Simultaneous GET requests to HTTP Server

2017-06-20 Thread Simeon Trifonov
I found what doesn't exist in the original sources. When I implemented the stack I saw a specific problem with pbufs (I don't remember all the details), but I saw in Internet that this is known problem. I couldn't find a ready solution. Therefore I made a small fix. That's why I added to the

Re: [lwip-users] lwip internal network

2017-06-20 Thread Simon Goldschmidt
orchand01 wrote: > Any advice here? thank you. First, try to use wireshark to match what's on the cable with what you think should be there. Second, from the information you wrote, I'd say in the "internal network only" case, the PC is not reachable. I could be wrong though, but no way to tell

Re: [lwip-users] A new users request for help with sending TCP Packets on Demand

2017-06-20 Thread Simon Goldschmidt
mitchj wrote: > However, I'm honestly struggling to find an example that initiates the > connection from > the embedded device. You mean a tcp client? Where did you look? There are at least 3 in src/apps: lwiperf, mqtt and smtp. Just grep for tcp_connect... Simon

Re: [lwip-users] Simultaneous GET requests to HTTP Server

2017-06-20 Thread Simon Goldschmidt
Simeon Trifonov wrote: > See the screenshot bellow: The fact that this screenshot shows pbuf members that don't exist in the original sources makes me say: This is not "our" lwIP, how could we support it? As you correctly found out, the pbuf is somehow corrupted. I'd start to check the

Re: [lwip-users] Simultaneous GET requests to HTTP Server

2017-06-20 Thread Simeon Trifonov
I'm still fighting with my problem. Now I know what is going wrong, but I cannot find the reason. Probably somebody can help me. I attached a Wireshark log. You can see that communication stops after the confirmation from the PC for the frames that transfer the file style.css. All seems to be