SFML community forums
Help => Network => Topic started by: owl721 on February 24, 2016, 06:38:38 pm
-
Can sfml open ports?
-
If you mean network ports, then yes. The network module can do that (which would have been obvious if you had bothered to read the (http://www.sfml-dev.org/tutorials/2.3/network-socket.php) documentation (http://www.sfml-dev.org/documentation/2.3.2/group__network.php)). (http://www.sfml-dev.org/learn.php)
-
I'm familiar with the term "open a port" in connection with firewall configuration. But this has nothing to do with SFML, so I assume you mean what Jesper mentioned, namely "open a socket and connect it to a port".
As you see by our guesses, repeating only the thread title in the post is not the best way of explaining the problem.
-
I'm familiar with the term "open a port" in connection with firewall configuration. But this has nothing to do with SFML, so I assume you mean what Jesper mentioned, namely "open a socket and connect it to a port".
As you see by our guesses, repeating only the thread title in the post is not the best way of explaining the problem.
Can sfml open Port (computer networking) in firewall(like Windows Firewall), NOT SOCKET. And how progams like steam do it?
-
No and Steam.doesn't do anything. Usually if you try to open a port the Windowa firwall will complain on its own and you can accept or deny.
-
No and Steam.doesn't do anything. Usually if you try to open a port the Windowa firwall will complain on its own and you can accept or deny.
What about uTorrent?
-
The (Windows) firewall is a security feature and should not be deliberately worked around. If a port should be opened then the user should have a saying in that.
What are you trying to achieve anyways?
-
What are you trying to achieve anyways?
1. i want to create client which could share game files like maps and models with another client.
2. for easy server setup
-
Look into a UPNP library.