Re: [lwip-users] LCP Termination Request steps

2012-05-15 Thread N.Karakotas
Hi, Yes Sylvains one. Thanks -- From: "Simon Goldschmidt" Sent: Wednesday, May 16, 2012 9:19 AM To: "Mailing list for lwIP users" Subject: Re: [lwip-users] LCP Termination Request steps "N.Karakotas" wrote: Is the PPP port available so I can

Re: [lwip-users] LCP Termination Request steps

2012-05-15 Thread Simon Goldschmidt
"N.Karakotas" wrote: > Is the PPP port available so I can test it? I have a SIO port for LPC17xx. Which PPP port do you mean? The Win32 port is available in the contrib module (it hasn't actually changed from 1.4.0); Sylvain's updated port of PPP for lwIP is available in a new git branch "ppp-n

Re: [lwip-users] lwip whole performance down

2012-05-15 Thread vincent cui
Hi : I enable LWIP_STAT to get LWIP status when performance goes down. but it seems no error detected … Anyone help to have a look ? ETHARP xmit: 2 recv: 761 fw: 0 drop: 0 chkerr: 0 lenerr: 0 memerr: 0 rterr: 0 pro

Re: [lwip-users] LCP Termination Request steps

2012-05-15 Thread N.Karakotas
Hi, Is the PPP port available so I can test it? I have a SIO port for LPC17xx. It actually reflects the UARTS buffer, meaning that if len is larger that TX_BUFFER it will chunk the data and send it. This will also allow to declare a larger/smaller TX/RX PPP buffer. As what I have seen over the

Re: [lwip-users] lwip performance goes down if running with FreeRTOS

2012-05-15 Thread vincent cui
Hi : I enable TCP_CWND_DEBUG, the debug information is below, it seems that segment in NULL ...so do I increate seg num in lwipopt.h ? +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags -+-+-+-+-+-+-+-+-+-+-+-+-+-+ tcp_receive: duplicate seqno 21054614 tcp_output: sending ACK for 21056074 tcp_output:

Re: [lwip-users] lwip performance goes down if running with FreeRTOS

2012-05-15 Thread vincent cui
HI : I have a try for your suggestion , but get same result . I enable debug for something as following . #define MEMP_DEBUG LWIP_DBG_ON #define MEM_DEBUG LWIP_DBG_ON #define TCP_OUTPUT_DEBUGLWIP_DBG_ON #define TCP_QLEN_DEBUG

Re: [lwip-users] LCP Termination Request steps

2012-05-15 Thread goldsi...@gmx.de
Sylvain Rochet wrote: I still have to find a way to test PPPoS, which require a SIO somewhere, maybe I will do a unix SIO port, this seems easier than using a takes-minutes-to-flash-and-hard-to-debug uC. I tested it with the Win32 port from contrib. There is (by now) a working SIO port include

Re: [lwip-users] socket SO_RCVTIMEO

2012-05-15 Thread Kieran Mansley
On 15 May 2012, at 11:25, vincent cui wrote: > After set socket with attribute SO_RCVTIMEO, how does application know > receive timeout in this case? Is there a signal or call back to notice > application ? If the receive timed out, it will return -1 and set errno = EAGAIN Kieran

Re: [lwip-users] LCP Termination Request steps

2012-05-15 Thread Kieran Mansley
On 14 May 2012, at 19:56, Sylvain Rochet wrote: > Humm, I don't think this is a good idea to commit that into the default > branch now, at this early stage of development, it still require the > help of a Linux kernel/GNU libc to work (syslog, crypt(), ...). OK. I misunderstood how "working"

Re: [lwip-users] LCP Termination Request steps

2012-05-15 Thread Ivan Delamer
Just wanted to say, that this is a great project to take on, thanks Sylvain. I can volunteer to test your port as I have a test PPP client running 24/7 here in the office. I also wanted to update the PPP code using more pbufs vs. static buffers, without affecting the base samba code too much. Mayb

[lwip-users] lwip whole performance down

2012-05-15 Thread vincent cui
Hi: I am working on LWIP1.4.0 and FreeRTOSv7.1.1 to setup web server with SOCKET API..and found that sending speed becomes lower. In order to know the actual sending speed, I write a simple application to test it. And found that the sending speed is up to 8Mb/s. it is high enough for me. I notic

[lwip-users] socket SO_RCVTIMEO

2012-05-15 Thread vincent cui
All: After set socket with attribute SO_RCVTIMEO, how does application know receive timeout in this case? Is there a signal or call back to notice application ? Vincent ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailma