Greetings,
I’m trying to pool a non-blocking TCP “Connect to Server” function like so:
if (m_TcpSocket.Connect(m_IpAddressHost, m_Port) == sf::Socket::Done)
{
/// do something.
}
For some reason Server::Accept the connection at the other end but the Client::Connect never return sf::Socket::Done.
PS: I did try with a timeout and I’m getting the same result.
What I’m am missing?