Re: [lwip-users] Upgrading lwip 1.4.1 to 2.0.0 pbuf (or other) issue?

2016-12-05 Thread Dirk Ziegelmeier
The "udp_send: No route to 192.168.101.10" sounds like there is an explicit netif_set_up() is missing. Also check whether netif_set_link_up()/netif_set_link_down() is called somewhere. Dirk ___ lwip-users mailing list lwip-users@nongnu.org

Re: [lwip-users] Upgrading lwip 1.4.1 to 2.0.0 pbuf (or other) issue?

2016-12-05 Thread Sergio R. Caprile
I can tell you two things: You can't really take a low-level driver for version x and dump it into version y without hassle. It should work, but you also should read the docs because there can always be, and there have been, changes. There is some slight difference with the way 2.0.0 handles

[lwip-users] Upgrading lwip 1.4.1 to 2.0.0 pbuf (or other) issue?

2016-12-05 Thread Nicholas Richard
Hello, I'm attempting to upgrade one of the basic examples that Atmel provides (http example with lwip), that comes with lwip 1.4.1, and upgrade it to lwip 2.0.0. I'm fairly new to using these tools, so I figured I could essentially remove the lwip 1.4.1 folder+files and replace it with lwip

Re: [lwip-users] lwip_send() not sending correct amount of data?

2016-12-05 Thread Sergio R. Caprile
You make capture files smaller by capturing at the right time and enabling only the hosts/ports you need to see. You understand TCP by reading Stallings, Comer, Tanenbaum... ;^) The amount of data sent by a TCP stack is what it thinks best for the current scenario, given its configuration. It

Re: [lwip-users] UDP bind error due to address and port reuse

2016-12-05 Thread Joel Cunningham
On Dec 03, 2016, at 01:05 PM, Michael Steinberg wrote: Am 03.12.2016 um 17:37 schrieb Surya Chaitanya: Hi, The scenario is something like this. I have created an array of say, 5 UDP PCB's. I'd like to bind all these 5 UDP PCB's to the same local IP address and

Re: [lwip-users] lwip_send() not sending correct amount of data?

2016-12-05 Thread pekez
You are right, bytes are not missing, I just checked. This is not a real problem then, it's just lack of understanding of TCP. :) It was strange at first because I don't have similar problems at all when sending from PC to ZYNQ. When it comes to capture files, I am quite new to that, so I am

Re: [lwip-users] lwip_send() not sending correct amount of data?

2016-12-05 Thread Simon Goldschmidt
pekez wrote: > The problem is that after some number of packets, client app receives > less than TCP_MAX_DATA_LEN (which is 1446) bytes even though it isn't > supposed to receive packet of that size at that moment. For example, > after 1013rd packet sent, client receives packet that is less

[lwip-users] lwip_send() not sending correct amount of data?

2016-12-05 Thread pekez
Hi guys, I have been trying to implement simple client - server apps that will help me measure communication performance. Server is running on custom ZYNQ board and is supposed only to send packets, whereas client is running on PC and is supposed only to receive packets. I am using Lwip v1.4.1.