Bug in libgcj UDP network classes
Tom Tromey
tromey@redhat.com
Wed Dec 3 20:00:00 GMT 2003
>>>>> "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
More information about the Java
mailing list