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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - wieduwillst

Pages: [1]
1
Network / Re: Why doesn't work selector.wait with UDPSocket
« on: October 27, 2012, 01:52:00 pm »
uint16 port;
if(socket.receive(p,ip,port) == sf::Socket::Done)
 

you have to set the port to the same you are sending (1010) in this case

2
Network / Re: sf::TcpSocket copyable
« on: October 23, 2012, 11:53:56 am »
I solved it with a reference!
Thanks anyways :)

3
Network / 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!

Pages: [1]