On Tue, Feb 16, 2010 at 1:42 PM, Nerius Landys <nlan...@gmail.com> wrote:
I'm communicating with a server that uses UDP packets. The server
receives a UDP packet, and responds with a UDP packet by sending one
to the initial sender. The request packets are always very small in
size, but the response UDP packets can be up to 9216 bytes in size.
With my Java program, I'm able to get up to 9216 bytes in my UDP
response packet; the response won't be truncated to 1024 bytes like in
Now I've read the netcat manpage and it says nothing about any buffer
size or ways to increase it. I don't really want to use my Java
program because starting up a JVM for each server query is very
expensive. Any ideas of any other tools like netcat that will enable
me to receive UDP packets up to 9216 bytes in size?