big udp packets

Archie Cobbs archie at whistle.com
Thu Oct 14 20:56:48 PDT 1999


Patrick Tullmann writes:
> I had trouble with Kaffe receiving large UDP packets (~45K).  It
> turned out that the default buffer size under FreeBSD wasn't big
> enough.  I "fixed" the problem with the attached patch.  (Basically I
> asked the kernel to reserve 128K for reach UDP socket).
> 
> I'm not sure if this is something we should foist on all Kaffe users,
> though.  Thoughts?

Why not just use DatagramSocket.setSendBufferSize() and
DatagramSocket.setReceiveBufferSize()?

Ah, because kaffe doesn't have them yet!

OK, I'll add them.. :-)

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


More information about the kaffe mailing list