You need to learn how to use sockets. Use google, there's plenty of information available. Also check out:
http://<br />
http://www.ecst.csuch...et/html/<br />
Keep in mind that sockets are not specified by the C++ standard so any code using sockets won't be portable to all systems,
but the socket APIs that comes with Windows and Linux are very similar, even more so if you use Cygwin on Windows.