You shouldn't use bufio around a UDP connection. The reads are a fixed 
size, so there's no "batching" of reads that could happen, and you can't do 
a partial read of a UDP packet, so you're going to lose data as soon if the 
buffer attempts to top off with a read smaller than the next packet size. 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to