This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Maximum length of a UDP message


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]