lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] [lwip] Newbie TCP problem pt.2


From: Andy Knox
Subject: [lwip-users] [lwip] Newbie TCP problem pt.2
Date: Wed, 08 Jan 2003 22:36:13 -0000

Hi

In my previous posting I omitted some potentially important info:
I am running RedHat 7.1 (uses the Linux 2.4.2 kernel)
I am using lwip Version 0.4.1

Cheers,
- Andy
 
> Hi
> 
> I am porting lwip to a device that uses a Motorola 850 PowerPC. I am very
> new to TCP/IP and have run accross a problem which has me baffled: When
> sending data down a connection to lwip, the first 1536 bytes 
> arrive OK in my
> app then the sender stops sending data packets.
> 
> The TCP client opens a socket from a RedHat Linux PC. It does not 
> matter if
> the data is written into the socket in 64 byte chunks with 1 second gaps
> between them or all at once, the same problem occurs.
> 
> The sequence of events:
> 
> The TCP connection is established.
>   The PC-app starts sending data packets.
>   lwip responds to the messages with ACK.
> The above repeats until around 1536 bytes of data have been sent
> The PC-app then sends a packet with ACK set and no data The 
> sequence number
> of this packet is 1 less than the ack_seq value last sent to it from the
> device.
> lwip does not respond
> The PC-app then continues to send the same message out at increasing
> intervals.
> lwip does not respond
> 
> Restarting the PC app, re-establishes the connection and the 
> above sequence
> repeats. There is no need to restart lwip.
> 
> Any clues as to what I might be doing wrong would be greatly appreciated.
> 
> Cheers,
> - Andy Knox
> 
> [This message was sent through the lwip discussion list.]
> 
[This message was sent through the lwip discussion list.]




reply via email to

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