SFML community forums

Help => Network => Topic started by: CowNation on May 09, 2018, 04:31:26 pm

Title: Port-Forwarding with LAN
Post by: CowNation on May 09, 2018, 04:31:26 pm
I am making a program that only requires LAN connection.
Do I need to Port-Forward a port for UDP connection?
If not, how do I tell which port the client needs to connect to?
Or can I just pick a port at random?
Title: Re: Port-Forwarding with LAN
Post by: Gleade on May 10, 2018, 12:40:19 am
You don't need to port-forward for a LAN connection. You may choose which ever non-reserved port you like.
List of reserved ports: https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers (https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers)