Re: [lwip-users] Packet queuing to an ARP table entry

2017-11-14 Thread goldsi...@gmx.de
Amena El Homsi wrote: I am trying to send ping request using Lwip. The ICMP header and ping data is in my system frame memory referenced by a PBUF_ROM 'p' (p->payload points to the ICMP hdr in the frame memory. Is this correct? How long is the contents of this buffer stable? PBUF_ROM means

Re: [lwip-users] lwip stats tcp cachehit

2017-11-14 Thread goldsi...@gmx.de
Markus Pischinger wrote: what does the "cachehit" in tcp stats refer to? It just means that the input pcb (active or listening) was the first in the list. Not too interesting... I got some "proterr" aswell but as far as i've seen they occur when i get a packet while not having an active

[lwip-users] Packet queuing to an ARP table entry

2017-11-14 Thread Amena El Homsi
Hi, I am using lwip 2.0.3 Release version. I am trying to send ping request using Lwip. The ICMP header and ping data is in my system frame memory referenced by a PBUF_ROM 'p' (p->payload points to the ICMP hdr in the frame memory. The PBUF_ROM is chained by a PBUF_RAM 'q' in which the ETHERNET

Re: [lwip-users] httpd: how to implement AJAX

2017-11-14 Thread Giuseppe Modugno
Il 14/11/2017 13:54, Noam Weissman ha scritto: Hi, HTTPD is widely used and if you look around you can find examples from ST micro TI and other vendors. Do you mean HTTPD *without* a secure layer? Yes, I know there are many examples of it, but IMHO because it is simpler than a full HTTPS

Re: [lwip-users] httpd: how to implement AJAX

2017-11-14 Thread Noam Weissman
Hi, HTTPD is widely used and if you look around you can find examples from ST micro TI and other vendors. The examples that you will find are probably older versions with no POST or AJAX support but they work ! Noam. -Original Message- From: lwip-users

Re: [lwip-users] httpd: how to implement AJAX

2017-11-14 Thread Noam Weissman
Hi, Yes I use a different server. My server code was based on a variation of the httpd code + many additions. I use POST to send the user+password and no it is not encoded... this is mainly for simple use. The SSID is not a cookie... The SSID's are handles in a separate task that does the

Re: [lwip-users] httpd: how to implement AJAX

2017-11-14 Thread goldsimon
Giuseppe Modugno wrote: > It's a pity lwip doesn't feature those >secure network layers. Actually, it's not that far away. Have a look at the for master. It's not in the releases, yet. Simon ___ lwip-users mailing list lwip-users@nongnu.org

Re: [lwip-users] httpd: how to implement AJAX

2017-11-14 Thread Giuseppe Modugno
Il 13/11/2017 21:25, goldsi...@gmx.de ha scritto: Giuseppe Modugno wrote: The prototype for SSI callbacks is: [..] I don't see any reference to query string parameters. So how to select the right action? Sorry for the confusion. This is a mix of resource optimization, missing documentation

Re: [lwip-users] httpd: how to implement AJAX

2017-11-14 Thread Giuseppe Modugno
Il 13/11/2017 18:04, Noam Weissman ha scritto: Yes SSID is a session ID that had been added to my own server code. So are you using a completely different HTTP server from the httpd that is in apps folder of lwip main source? When a user askes for a page and there is no ssid the server will

[lwip-users] lwip stats tcp cachehit

2017-11-14 Thread Markus Pischinger
Hi guys, what does the "cachehit" in tcp stats refer to? I just checked my stats got the following: TCP       xmit: 58754       recv: 58877       fw: 0       drop: 22       chkerr: 0       lenerr: 0       memerr: 0       rterr: 0       proterr: 22       opterr: 0       err: 0       cachehit: