Sample program made in C# after learning basic networking. This program has been tested to work over the internet (learnt about port forwarding during that process). I will release the code or do a quick tutorial for this if there’s a demand for it or if I have time. Just drop me an email at email@example.com.
I’ll upload the program to git in the near future (hopefully by the time you read this).