[Top][All Lists]

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

Re: [lwip-users] Problem receiving large packets

From: Christiaan Simons
Subject: Re: [lwip-users] Problem receiving large packets
Date: Mon, 6 Feb 2006 15:35:30 +0100

Feroz wrote:

> My problem is that as long as i send a string shorter than 600 chars
> everything seems to be ok, but when sending larger strings, i dont get
> the "a" char i send after receiving something. So the program waits for
> that on the last sysread on the client side.
> Is there anything i have done wrong?

I guess you should traverse the whole pbuf-chain
(a linked list) to obtain all payload bytes.

Does 600 chars equals the PBUF_POOL_BUFSIZE setting in lwipopts.h?


I've found some problems with the IP reassembly and fragmentation code.
You might encounter problems with ICMP or UDP payloads larger than
your MTU (1500 bytes for Ethernet).

I'm working on this issue.

As long as you stick with TCP everything should go just fine.
I can read / write a few megs over TCP without problems.

Christiaan Simons

Hardware / Software Engineer
Axon Digital Design


This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This message contains confidential information and is intended only for the
individual named.  If you are not the named addressee you should not
disseminate, distribute or copy this e-mail.

reply via email to

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