I want to connect to other computers remotely and for example grabbing some data from them. Do we have any c++ library for this purpose? And if yes, please guide me to a good documentation about it.
Funny, but you've forgot to mention which kind of connection you want to use. Is it about TCP/IP connection, or USB, or bluetooth, or some telepathy channel?
For TCP/IP simply google about "socket programming C++ tutorial".