0 Members and 1 Guest 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);