and when i do this i got this i get the following error.
sf::Thread thread( &sf::TcpSocket::receive, socket);
thread.launch();
error on the first argument is the unknown type error.
and when i do this
void send( sf::TcpSocket socket )
and create a thread like this
sf::Thread thread( &send, socket);
thread.launch();
get the following error
Error 1 error C2248: 'sf::NonCopyable::NonCopyable' : cannot access private member declared in class 'sf::NonCopyable' c:\users\destraction\desktop\laurentgomila-sfml-ef78b6d\include\sfml\network\socket.hpp 178 1 sfml 3.0