Im trying to create a server/client application that will work on two or more remote computers with no local network between them.
So i searched the internet and find a TON and TONES of C# UDP client/server examples just like here.
BUT i didn’t find anywhere how to send a UDP socket over the internet on remote computer with, lets say IP=”130.204.159.205″;
please with your answers give me some example code
The example you linked shows how to create the socket, just remove the line
IPHostEntry ipHostInfo = Dns.Resolve(Dns.GetHostName())and put use this constructor and pass in a byte array with your ip address 130.204.159.205