Answer the question
In order to leave comments, you need to log in
How to receive and receive data over UDP on go?
I connect to the equipment via udp using net.Dail and send data using Write.
conn, err := net.Dail("udp", ip адрес)
_, err = conn.Write()
Answer the question
In order to leave comments, you need to log in
The Conn interface has a Read method
https://golang.org/pkg/net/#Conn
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question