Home

Home (1)
Francesco

Windows Socket

Socket++ is a simple C++ socket class, for Windows.

A fast example is here:

...

ClientSocket myClient( "http://google.it" ); // default port 80

myClient.send( "something" );
std::cout << myClient.recv() << std::endl;

...