SFML community forums
Help => Network => Topic started by: csiz on May 19, 2009, 10:25:22 pm
-
is it possible for me to have more socketTcp on the same socket.
if i do for example a listener socket on port 2000, when a connection is made i start a thread class with the parameter socket and that thread sends/receives data by it self. than in the same program i try to connect to different people sending a connection request than making that thread again.
Do the threads interact in any way?
-
You don't need to connect to a client after they did a connection on your server... You should read the tutorial again.
-
it is not a server it is some p2p and that connection is needed as I don't want to separate those who I connect with from those that connect to me. The behavior of the connection is identical afterwards.