Open GoogleCodeExporter opened 8 years ago
This patch adds
-a santiy check before the buffer is copied (if the buffer is too small for the
udp package content)
-add some more verbose logging (if packet is invalid or exceptions happens)
Original comment by michudr...@gmail.com
on 5 Feb 2013 at 2:06
Attachments:
Hi, please have a look at the oscP5properties example, you are looking for
setDatagramSize. By default the datagram size for oscP5 is set to 1536 - hence
in your case too small for sending 4096 bytes.
http://www.sojamo.de/libraries/oscP5/examples/oscP5properties/oscP5properties.pd
e
Original comment by soj...@gmail.com
on 12 Feb 2013 at 9:05
Yes I saw this. I think it would be helpfull for the user if the lib print out
a warning message if the buffer is too small.
There was also another sideeffect that the lib throws some ArrayOutOfBound
Exceptions if the buffer is too small.
this patch should address both issues.
cheers
michu
Original comment by michudr...@gmail.com
on 12 Feb 2013 at 9:08
Original issue reported on code.google.com by
michudr...@gmail.com
on 4 Feb 2013 at 6:37