SFML community forums

Help => Network => Topic started by: wieduwillst on October 22, 2012, 06:48:09 pm

Title: sf::TcpSocket copyable
Post by: wieduwillst on October 22, 2012, 06:48:09 pm
Hello guys!
I'm currently migrating my project from 1.6 to 2.0 and i have a problem with the new network sf::TcpSocket.
I have a clientlist storing objects of a client class with informations stored and the TcpSocket.
Now in 2.0 i can't say client.socket = socket anymore because it's not copyable anymore =/.
Is there a way to get it in my client class?
Thanks for helping!
Title: Re: sf::TcpSocket copyable
Post by: wieduwillst on October 23, 2012, 11:53:56 am
I solved it with a reference!
Thanks anyways :)