I used to read and write UDP messages using a net.UDPConn where I could use SetReadBuffer to change the OS\'s receive buffer size.
UDP
net.UDPConn
SetReadBuffer