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)
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