[java-dev] multicast receive byte limit?
Owen Green
owen at owengreen.net
Fri Jan 25 08:06:31 MST 2008
- Previous message: [java-dev] multicast receive byte limit?
- Next message: [java-dev] deferring a new operation of buf.Op
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Issac, As far as I can tell, the maximum packet size is determined by the buffer size of the underlying DatagramSocket: <http://java.sun.com/j2se/1.4.2/docs/api/java/net/DatagramSocket.html#setSendBufferSize(int)> -- Owen isaac wrote: > Hi, > > A while ago, I changed the existing net.multi.recv code to suit the > purposes of a networked medical system that uses max/msp at my > university. It worked great, but now the system has grown and it is > receiving much larger packets of information (around 8kb). Because > of other system elements, it isn't feasible to divide the packets up > or anything like that. It seems that the MultiReceiver class which > is used in net.multi.recv has an upper limit on packet size, probably > around 1 kilobyte, because the packets are getting truncated. Does > anyone know of an easy way around this? I went through the api and > google, found nothing. If anyone could point me to a manual page or > who has experience in a problem like this could help me out, it would > be really helpful. > > I'm also including my code--if anyone sees that I'm doing something > stupid that could cause this problem, please let me know. It's > pretty similar to the original net.multi.recv code, though. I think > the only changes I made are in the receiver method. > > Isaac > > > ------------------------------------------------------------------------ > > > _______________________________________________ java-dev mailing list > java-dev at cycling74.com > http://www.cycling74.com/mailman/listinfo/java-dev
- Previous message: [java-dev] multicast receive byte limit?
- Next message: [java-dev] deferring a new operation of buf.Op
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
