lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Upgrading to 0.6.1


From: David Ryan
Subject: [lwip-users] Upgrading to 0.6.1
Date: Thu, 17 Apr 2003 11:10:15 +1000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826


Hi all,

I've finally found time to do some testing of 0.6.1 since upgrading from 0.6.0-rc1 with my ps2 implementation. I first discovered that I needed to set netif->hwaddr_len or ARPs would return with mostly junk. After resolving that issue I came up against a very strange issue...

My basic test is to connect to an echo server and then telnet to it from windows, and type in a few characters. What I found was that a single character would result in a random number of characters in return. I first checked my echo server to ensure that it was receiving one character and sending one character, which it did. After that I started checking with Ethereal. I found the following

pc    ----->  'x'  ------>   ps2        single character sent to ps2.
pc    <------ 'x' --------   ps2        single character returned.
pc    ------- ACK  ----> ps2        packet acknowledged
pc <----- 'xxxx' ------ ps2 random number of characters returned in new packet.
pc    -------- ACK -----> ps2        packet acknowledged

This was consistant with every packet sent. My first assumption is that this is probably related to how the driver should interface with pbufs. I haven't yet changed the driver from 0.6.0 code. Is this likely, or should I be looking deeper into lwip?

If you think it is the driver, can someone suggest which driver I should base my code?

What other changes from 0.6.0 to 0.6.1 should I look out for?

Thanks,
David.








reply via email to

[Prev in Thread] Current Thread [Next in Thread]