1
Network / How to get UDP working accross multiple computers connected to different network
« on: February 24, 2019, 03:10:42 pm »
Hey everyone!
I am new to SFML and Network Programming but I really love multiplayer games so I decided to dive into the world of networking and socket programming. I planning on making a game using Unity (C#) and using SFML for the server-side. I've read a bit of the SFML networking docs and have created a simple server and client which send messages to each other. Now, I was wondering how I could get this to work online? How could I get my program to communicate with another instance of it on my buddy's computer? I know this is probably a very newbie question. Apparently I have to do port forwarding and I am a bit confused. Could anyone point my in the right direction as to what I have to do to get this actually working online across different networks?
Thanks in advance!
I am new to SFML and Network Programming but I really love multiplayer games so I decided to dive into the world of networking and socket programming. I planning on making a game using Unity (C#) and using SFML for the server-side. I've read a bit of the SFML networking docs and have created a simple server and client which send messages to each other. Now, I was wondering how I could get this to work online? How could I get my program to communicate with another instance of it on my buddy's computer? I know this is probably a very newbie question. Apparently I have to do port forwarding and I am a bit confused. Could anyone point my in the right direction as to what I have to do to get this actually working online across different networks?
Thanks in advance!