[lwip-users] DNS support in LWIP

2012-09-05 Thread vincent cui
Hi : Does LWIP support DNS server ? I need know the real ip address by web site name input by user . Anyone give any help ? Vincent ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users

[lwip-users] Sockets

2012-09-05 Thread Nikolas Karakotas
Hello, Im using the socket api to connect to a number of other embedded devices. The protocol used is modbus but doesn’t really matter in this case. Apparently the other embedded systems have some issues and cause problems to the sockets. When I connect successfully to the devices and then colle

Re: [lwip-users] HTTP packet cut in half

2012-09-05 Thread Tomáš Švec
Never mind, I feel like an idiot right now - If anyone stumbles upon a similar problem to mine (packets being severed in half and so on), be sure to check your ethernetif.c for proper chaining of pbufs in low_level_output :) 2012/9/5 Tomáš Švec > Thank you for the advice, I changed the code, but

Re: [lwip-users] lwIP upload speed bottleneck

2012-09-05 Thread tamirmichael
Martin Velek wrote: > > Hello, > > what about ping with the packet of size 512, 1024 - ... B? Is the > response also after 100 ms? > > Martin > > On Mon, Sep 3, 2012 at 3:17 PM, tamirmichael > wrote: >> Hello, I am uploading a very large file to a server using a single POST >> command. I ha

Re: [lwip-users] HTTP packet cut in half

2012-09-05 Thread Tomáš Švec
Thank you for the advice, I changed the code, but that did not fix it :( It might be worth mentioning that the header that comes before the data has a bad checksum (Wireshark says something about TCP checksum offload, but that is not active on this interface). 2012/9/5 Darius Babrauskas > I don

Re: [lwip-users] HTTP packet cut in half

2012-09-05 Thread Darius Babrauskas
I dont like this: tcp_write(tpcb, htmlText, sizeof(htmlText), 0); Maybe better: tcp_write(tpcb, htmlText, sizeof(htmlText)-1, 0); or tcp_write(tpcb, htmlText, strlen(htmlText), 0); - Original Message - From: "Tomáš Švec" To: "Mailing list for lwIP users" Sent: Wednesday, September

Re: [lwip-users] lwIP upload speed bottleneck

2012-09-05 Thread Martin Velek
Hello, what about ping with the packet of size 512, 1024 - ... B? Is the response also after 100 ms? Martin On Mon, Sep 3, 2012 at 3:17 PM, tamirmichael wrote: > Hello, I am uploading a very large file to a server using a single POST > command. I have taken notice of different performance tunin

[lwip-users] HTTP packet cut in half

2012-09-05 Thread Tomáš Švec
Hello, I am having trouble getting a webserver to work. My initial inspiration was this simple RAW API example: http://lists.gnu.org/archive/html/lwip-users/2008-06/msg00036.html .LWIP version is 1.4.0. I successfully establish a TCP/IP connection, the chip even sends a response to the request, bu