directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trustin Lee <>
Subject Re: [mina] help with implementing a syslog server with mina
Date Fri, 13 Jan 2006 00:23:49 GMT

2006/1/13, Kaspar Luethi <>:
> >Does [mina] guaratee that it will always put a complete UDP message
> >in a buffer?
> i actually believe its guaranteed, but by UDP/IP, yes. i must really have
> mistunderstood the concept of UDP if this is wrong. the UDP packet is the
> ioSession is the message. that's why they require the packet being 1024
> bytes
> or smaller, so it does not have to be split into multiple UDP messages.
> which
> would give you the headache to figure out how to assemble which packets in
> which order...

Kaspar is right.  UDP packets are never splitted, so you don't need to wait
for the complete packet.  It's already complete.

what we call human nature is actually human habit
PGP Key ID: 0x854B996C

View raw message