[lwip-users] getaddrinfo returning only IPv4 address

2019-03-27 Thread antonio
Hi All, I am using LWIP with LWIPv4/6 (dual-stack enabled). I used getaddrinfo to resolve some domains, and I am only getting an IPv4. However, with my .c application on my Laptop connected to the same AP, I get two addresses This is what I get when I use a c application on my Laptop. ./ip6 www.g

Re: [lwip-users] tcp_active_pcbs corrupt after resetting connection ???

2019-03-27 Thread Terence Darwen
On Wed, Mar 27, 2019 at 4:13 PM Simon Goldschmidt wrote: > > > On 27.03.19 22:00, Terence Darwen wrote: > > Hi Simon - Thanks for the reply. I've made my own replies below: > > > > > Hi, I'm using lwIP 1.41 with a Texas Instruments Tiva Launchpad > > development > > > board (the TM4C1294). > >

Re: [lwip-users] tcp_active_pcbs corrupt after resetting connection ???

2019-03-27 Thread Simon Goldschmidt
On 27.03.19 22:00, Terence Darwen wrote: Hi Simon - Thanks for the reply.  I've made my own replies below: > Hi, I'm using lwIP 1.41 with a Texas Instruments Tiva Launchpad development > board (the TM4C1294). >>Now that's a really old version of lwIP! Yes, unfortunately 1.41 is the version

Re: [lwip-users] tcp_active_pcbs corrupt after resetting connection ???

2019-03-27 Thread Terence Darwen
Hi Simon - Thanks for the reply. I've made my own replies below: > Hi, I'm using lwIP 1.41 with a Texas Instruments Tiva Launchpad development > board (the TM4C1294). >>Now that's a really old version of lwIP! Yes, unfortunately 1.41 is the version that is packaged in TI's latest release of Tiv

Re: [lwip-users] tcp_active_pcbs corrupt after resetting connection ???

2019-03-27 Thread goldsi...@gmx.de
Am 27.03.2019 um 20:05 schrieb Terence D: Hi, I'm using lwIP 1.41 with a Texas Instruments Tiva Launchpad development board (the TM4C1294). Now that's a really old version of lwIP! [..] This code is run in the lwIPHostTimerHandler. Which of course is called from the Ethernet interrupt handle

[lwip-users] tcp_active_pcbs corrupt after resetting connection ???

2019-03-27 Thread Terence D
Hi, I'm using lwIP 1.41 with a Texas Instruments Tiva Launchpad development board (the TM4C1294). I'm seeing an odd issue occur when resetting a connection during stress testing. The Tiva board is the TCP/IP server. I have a client application I made that runs on a Windows machine and connects a

Re: [lwip-users] lwip: Scan through the heap searching for a free block that is big enough, beginning with the lowest free block.

2019-03-27 Thread goldsi...@gmx.de
Am 25.03.2019 um 10:52 schrieb vrnud: Hi, I am trying to impelement modbus over TCPIP. I am using FreeRTOS + lwip +STM32f4 (cube Mx generated code). Lwip version is 2.0.0. Freertos version 9.0.0. heap 4 is used. is it ok? TCPIP echo server application is used. while trying to connect from Modsc

Re: [lwip-users] Memory error after certain number of connect/disconnects.

2019-03-27 Thread goldsi...@gmx.de
Am 27.03.2019 um 17:02 schrieb sarp: Dear members, I have a TCP client using raw API which switches connection between servers after data transmission. Scenario Loop: Connect to 1st server. Transmit data. Disconnect. . . Connect to nth Server. Transmit data. Disconnect. Go to First connectio

Re: [lwip-users] why ping utility was removed ?

2019-03-27 Thread Freddie Chopin
W dniu śro, 27.03.2019 o godzinie 17∶32 +0200, użytkownik Ranran napisał: > Does anyone knows why ping.c utility was removed from lwip ? > I only found it in older lwip versions. It is still there. http://git.savannah.nongnu.org/cgit/lwip.git/tree/contrib/apps/ping/ping.c Regards, FCh

[lwip-users] Memory error after certain number of connect/disconnects.

2019-03-27 Thread sarp
Dear members, I have a TCP client using raw API which switches connection between servers after data transmission. Scenario Loop: Connect to 1st server. Transmit data. Disconnect. . . Connect to nth Server. Transmit data. Disconnect. Go to First connection again... Although using the documen

[lwip-users] why ping utility was removed ?

2019-03-27 Thread Ranran
Hello, Does anyone knows why ping.c utility was removed from lwip ? I only found it in older lwip versions. Thank you, ran ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users

Re: [lwip-users] Help with PPP connection - modem disconnects for no obvious reason...

2019-03-27 Thread Freddie Chopin
Hello again! Last week I finally found a proper way to talk to this modem and today I've tried to systematically investigate it deeper. First of all - the modem works, I can connect with LTE 4G network, I can connect to the internet with lwip's PPP, I can connect to MQTT test broker (with full en