Re: [lwip-users] PPPos does not detect modem disconnection

2019-11-07 Thread goldsi...@gmx.de
Am 07.11.2019 um 17:49 schrieb vinimac: Hi all, I am simulating a signal loss by removing the antenna from the modem and it keep sending packets to a server using TCP socket. After remove the antenna, the function send wont fail() and error number is not set too. I was expecting TCP layer to de

[lwip-users] PPPos does not detect modem disconnection

2019-11-07 Thread vinimac
Hi all, I am simulating a signal loss by removing the antenna from the modem and it keep sending packets to a server using TCP socket. After remove the antenna, the function send wont fail() and error number is not set too. I was expecting TCP layer to detect the lack of TCP ACK or PPP should ha

Re: [lwip-users] Delay in web page loading on v1.4.2

2019-11-07 Thread Trampas Stern
I had to increase number of TCP connections as well. Chrome will do several connections to speed up web page loading, not that it does on embedded devices... Trampas On Thu, Nov 7, 2019 at 6:13 AM goldsimon wrote: > > > Am 7. November 2019 11:06:07 MEZ schrieb vinu < > vinu.gopalakrish...@gadg

Re: [lwip-users] MEM_USE_POOLS issue

2019-11-07 Thread goldsimon
Am 7. November 2019 08:54:25 MEZ schrieb mtimm : >Simon, >Thank you. It works better ;) >One more question about purpose of using custom pools. >LwIP uses few internal pools like PBUF_POOL_base, TCP_PCB_BASE, >UDP_PCB_BASE. >What can be the reason of using additional custom pools? Is it about >p

Re: [lwip-users] Delay in web page loading on v1.4.2

2019-11-07 Thread goldsimon
Am 7. November 2019 11:06:07 MEZ schrieb vinu : > >We found that the issue was only occuring when the browser used is >chrome >and not evident while testing with Firefox browser or wget from a linux >pc. The problem might be the number of parallel connectionss then? Regards, Simon

Re: [lwip-users] link down handling in dhcp v1.4.1

2019-11-07 Thread goldsimon
Am 7. November 2019 08:59:54 MEZ schrieb vinu : >Hi Simon, > >Is it safe to call dhcp_network_changed() from application thread ? I >tried >it ans seems to be working properly. No, it's not safe. Don't do that. > Also, should i call >netif_set_down() >and netif_set_addr() before dhcp_network_ch

Re: [lwip-users] Delay in web page loading on v1.4.2

2019-11-07 Thread vinu
We found that the issue was only occuring when the browser used is chrome and not evident while testing with Firefox browser or wget from a linux pc. Also we were using netconn_listen() for web server. Note that our webserver is single threaded. Once we replaced it with netconn_listen_with_backlo

Re: [lwip-users] link down handling in dhcp v1.4.1

2019-11-07 Thread vinu
Hi Simon, Is it safe to call dhcp_network_changed() from application thread ? I tried it ans seems to be working properly. Also, should i call netif_set_down() and netif_set_addr() before dhcp_network_changed() ? regards, Vinu -- Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html ___

Re: [lwip-users] MEM_USE_POOLS issue

2019-11-07 Thread mtimm
Simon, Thank you. It works better ;) One more question about purpose of using custom pools. LwIP uses few internal pools like PBUF_POOL_base, TCP_PCB_BASE, UDP_PCB_BASE. What can be the reason of using additional custom pools? Is it about preparing memory for copying data from PBUF_POOL_base for a