Re: [lwip-users] need help building netio server
If you arrive here looking for something on the netio server, yes, the one in contrib (at least upto 1.4.1) is incomplete. There's one guy who submitted patch #7026 with a full server; however, that server reacts with one write to each ACK it gets, and so its output throughput is very low. I re-wrote the tx part on that one, so we all can have something (far from ideal) but probably good enough to catch some flaws when developing link-layer drivers. And yes, I've added it to that patch, found here: http://savannah.nongnu.org/patch/?7026 -- ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users
Re: [lwip-users] need help building netio server
To close this thread, I just want to point out that the netio application (network throughput benchmark) in the contrib module is'nt complete. What happens is with the counterpart program (netio.exe) network throughput measuring will stall because netio.exe waits for input. According to netio.exe, the netio application is'nt finished. - Original Message - From: Kieran Mansley kie...@recoil.org To: Mailing list for lwIP users lwip-users@nongnu.org Sent: Friday, February 20, 2009 4:35 AM Subject: Re: [lwip-users] need help building netio server On Wed, 2009-02-18 at 15:04 -0500, Francois Bouchard wrote: Let me refine my post. I only get 1 Tx speed from this netio (client side) command : D:\users\Francois\netio_testsnetio -t 172.27.42.160 outputs: TCP connection established. Packet size 1 bytes: 85391 Byte/s Tx, My question: does that mean the server can't transmit ? I'm not familiar with netio, but it looks like it is reporting that some data were transmitted. Why do you think the server can't transmit? What output were you expecting? Thanks Kieran ___ lwip-users mailing list lwip-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/lwip-users ___ lwip-users mailing list lwip-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/lwip-users
Re: [lwip-users] need help building netio server
On Wed, 2009-02-18 at 15:04 -0500, Francois Bouchard wrote: Let me refine my post. I only get 1 Tx speed from this netio (client side) command : D:\users\Francois\netio_testsnetio -t 172.27.42.160 outputs: TCP connection established. Packet size 1 bytes: 85391 Byte/s Tx, My question: does that mean the server can't transmit ? I'm not familiar with netio, but it looks like it is reporting that some data were transmitted. Why do you think the server can't transmit? What output were you expecting? Thanks Kieran ___ lwip-users mailing list lwip-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/lwip-users
Re: [lwip-users] need help building netio server
Hello, What output were you expecting? I'm expecting a Rx speed value in the DOS shell, but it somehow stall in the process. Thanks you Francois - Original Message - From: Kieran Mansley kie...@recoil.org To: Mailing list for lwIP users lwip-users@nongnu.org Sent: Friday, February 20, 2009 4:35 AM Subject: Re: [lwip-users] need help building netio server On Wed, 2009-02-18 at 15:04 -0500, Francois Bouchard wrote: Let me refine my post. I only get 1 Tx speed from this netio (client side) command : D:\users\Francois\netio_testsnetio -t 172.27.42.160 outputs: TCP connection established. Packet size 1 bytes: 85391 Byte/s Tx, My question: does that mean the server can't transmit ? I'm not familiar with netio, but it looks like it is reporting that some data were transmitted. Why do you think the server can't transmit? What output were you expecting? Thanks Kieran ___ lwip-users mailing list lwip-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/lwip-users ___ lwip-users mailing list lwip-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/lwip-users
Re: [lwip-users] need help building netio server
Is the netio.c app is meant to be the server side while the PC runs the netio.exe program (client side)? Anyway, must be my side the problem... - Original Message - From: Kieran Mansley kie...@recoil.org To: Mailing list for lwIP users lwip-users@nongnu.org Sent: Friday, February 20, 2009 4:35 AM Subject: Re: [lwip-users] need help building netio server On Wed, 2009-02-18 at 15:04 -0500, Francois Bouchard wrote: Let me refine my post. I only get 1 Tx speed from this netio (client side) command : D:\users\Francois\netio_testsnetio -t 172.27.42.160 outputs: TCP connection established. Packet size 1 bytes: 85391 Byte/s Tx, My question: does that mean the server can't transmit ? I'm not familiar with netio, but it looks like it is reporting that some data were transmitted. Why do you think the server can't transmit? What output were you expecting? Thanks Kieran ___ lwip-users mailing list lwip-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/lwip-users ___ lwip-users mailing list lwip-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/lwip-users
Re: [lwip-users] need help building netio server
Let me refine my post. I only get 1 Tx speed from this netio (client side) command : D:\users\Francois\netio_testsnetio -t 172.27.42.160 outputs: TCP connection established. Packet size 1 bytes: 85391 Byte/s Tx, My question: does that mean the server can't transmit ? Francois - Original Message - From: Francois Bouchard To: lwip-users@nongnu.org Sent: Wednesday, February 18, 2009 12:34 PM Subject: [lwip-users] need help building netio server Hi all, I have not found anything interesting on the archives so I'm asking you. My goal is the connect to a server (coldfire5282) using client app netio. I'm using the netio files in the contrib section. My project runs with an OS, which mean I got the tcp/ip thread running. From the client side, I'm able to connect and transmit, but I can't get any response from the server. lwipopts: #define LWIP_RAW 1 here what I do: - lwip_init() - netif_add(servers address, ...) - call netio_init() - entering infinite loop; Is there something I'm not doing? I'm newbie with the raw API, is it true that I dont need threads ie. call to netio_init() will do the job? Thanks Francois -- ___ lwip-users mailing list lwip-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/lwip-users___ lwip-users mailing list lwip-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/lwip-users