Read(rsp) ? isnt that just an empty variable?
rsp := make([]byte, 48)
conn, err := net.DialUDP("udp", nil, raddr)
read, err := conn.Read(rsp)
rsp contains actual bytes read from the connection. read is number of bytes actually read
Обсуждают сегодня