SFML community forums
Help => Network => Topic started by: gmagno on March 24, 2010, 04:52:44 pm
-
Hello,
This is my first post, and I'd like to say thank you for this nice library.
I can't say I looked all over the forum for posts related to my question, I apologize if this is already answered somewhere else.
So, is it possible to check if a certain port number is already bound to a UDP socket?
Thank you in advance
-
Binding a socket to a port that is not available should return an error.
If what you want is a free port, you can use 0 so that the system will choose for you.
-
[SOLVED]
Thank you.