Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: sf::TcpSocket copyable  (Read 2106 times)

0 Members and 1 Guest are viewing this topic.

wieduwillst

  • Newbie
  • *
  • Posts: 3
    • View Profile
sf::TcpSocket copyable
« 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!

wieduwillst

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: sf::TcpSocket copyable
« Reply #1 on: October 23, 2012, 11:53:56 am »
I solved it with a reference!
Thanks anyways :)

 

anything