This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Bug in libgcj UDP network classes
- From: Tom Tromey <tromey at redhat dot com>
- To: Norbert Frese <postfach at nfrese dot net>
- Cc: Michael Koch <konqueror at gmx dot de>, java at gcc dot gnu dot org
- Date: 03 Dec 2003 12:49:40 -0700
- Subject: Re: Bug in libgcj UDP network classes
- References: <1069360450.3358.137.camel@lilota.lamp.priv><20031120203654.GA2912@mail.konqueror.de><1069375495.3355.213.camel@lilota.lamp.priv>
- Reply-to: tromey at redhat dot com
>>>>> "Norbert" == Norbert Frese <postfach@nfrese.net> writes:
Norbert> ... got curious myself ... and i think i have found it:
Norbert> The buffer size which is told to recvfrom() in
Norbert> "gnu::java::net::PlainDatagramSocketImpl::receive" is the size of the
Norbert> previously received Packet. Which is kept in the "length" variable of
Norbert> DatagramPacket. Therefore the number of bytes read via recvfrom() gets
Norbert> reduced with every packet that is smaller than the previous one.
Did this ever get resolved?
If not, could you file the problem in bugzilla?
Tom