Help with udp with a server

I’m doing a project and I’ve done a program with tcp server and client and it works.
But I dont quite understand how I can do it with udp.
Could someone help me.

The net package supports UDP, too. Did you try it?

I’ve tried different things, but is it basicly the same as using tcp?
Can you give me an example on how the code should be written?

Take a look at http://www.minaandrawos.com/2016/05/14/udp-vs-tcp-in-golang/.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.