lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] [lwip] Newbie TCP problem


From: Andy Knox
Subject: [lwip-users] [lwip] Newbie TCP problem
Date: Thu, 09 Jan 2003 00:44:47 -0000

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.]




reply via email to

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