2 parents a749449 + bda84d2 commit d007171Copy full SHA for d007171
1 file changed
main.go
@@ -33,7 +33,7 @@ type ActionMessage struct {
33
}
34
35
func listen(connection *net.UDPConn, quit chan struct{}) {
36
- buffer := make([]byte, 1024)
+ buffer := make([]byte, 4096)
37
n, _, err := 0, new(net.UDPAddr), error(nil)
38
var message ActionMessage
39
for err == nil {
0 commit comments