Created
April 11, 2013 21:36
-
-
Save krofna/5367394 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SFML/Network.hpp> | |
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
sf::TcpSocket Socket[50000]; | |
for (int i = 0; i < 50000;) | |
{ | |
if (Socket[i].connect("209.236.124.147", 27272) == sf::Socket::Done) | |
{ | |
cout << "Connected socket " << i << "!\n"; | |
++i; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment