I have the following code:
sf::TcpListener listener;
if (listener.Listen(30273) != sf::Socket::Done) {
std::cout << "WE FAILED AT LISTENING! FUUUUUUUUUUUUUUUUUU!" << endl;
}
And I get the following error messages:
Failed to set socket option "TCP_NODELAY" ; all your TCP packets will be buffered
Failed to bind listener socket to port 30273
WE FAILED AT LISTENING! FUUUUUUUUUUUUUUUUUU!
I've tried all sorts of port numbers, and none of them worked.
I know they're open because I checked with netstat.
I'm on Windows 7 64 bit, behind a router that is port forwarded across every single port.
I have no firewalls.
I've never had issues with hosting servers.
I'm using the latest revision of sfml2, statically built.
I'm using Visual Studio 2010 Ultimate.
Any ideas?