0 Members and 2 Guests are viewing this topic.
void Client_Listen_Thread(void* UserData){ sf::SocketTCP Server = static_cast<sf::SocketTCP>(UserData); [...] blabla
sf::Thread ListenThread(&Client_Listen_Thread,&Server);
sf::SocketTCP* Server = static_cast<sf::SocketTCP*>(UserData);