1
System / Re: Thread gives no copy even when given a reference.
« on: May 06, 2013, 12:53:07 pm »
Indeed I made a mistake in the post, I'm sorry.
I actually did write
instead of
I did not make that mistake for the receive function though.
Thank you Nexus and asusralis, you helped me to finish my first project using SFML (the basic principle of a chat).
I actually did write
void send(sf::TcpSocket client)
instead of
void send(sf::TcpSocket &client)
in the prototype.I did not make that mistake for the receive function though.
Thank you Nexus and asusralis, you helped me to finish my first project using SFML (the basic principle of a chat).