This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Maximum length of a UDP message
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Emmanuel Coullien <coullien dot emmanuel at gmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 23 Nov 2007 01:31:23 +0100
- Subject: Re: [ECOS] Maximum length of a UDP message
- References: <3fae21000711210410y22cdd269rd36e6c1c8f999a09@mail.gmail.com> <3fae21000711220628w4d93a029k9c68bd2feb6ef008@mail.gmail.com>
On Thu, Nov 22, 2007 at 03:28:24PM +0100, Emmanuel Coullien wrote:
> Hello,
>
> I want to send a long message with the SENDTO function via UDP.
> On eCos, it seems that we have some problems when the message is
> longer than 3000 octets without error message.
> Normaly, I though that we could send a message up to 64ko.
UDP implementations generally limit a maximum message size of around
4K.
> Is someone know the maximum length of a UDP message we can send with
> this function in eCos ?
> Is it possible to increase this eCos limit ?
Sure. You have the source code. Find where the limit is enforced and
change it.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss