I use the dev c++ IDE and was wondering if there is anyway in c++ or using system commands to send text packages to another computer that can be received by the other computer to process the information.

11 Years
Discussion Span
Last Post by Sturm

Although you could probably use system() commands, there's several disadvantages to that. Firstly, it's very slow using system() commands, as it first has to call the operating system, which calls the program, etc, etc.. Secondly, it's not portable, (which may or may not be a problem for you) but it's certainly a good idea to make code as portable as possible.

Starting from scratch and writing a networking application using sockets is a little bit difficult (or should I say a lot!), so you may want to let someone else to the low-level stuff. I recommend using the open-source networking framework libcurl to handle your communications for you. It's very easy to use, and your performance will thank you.

Hope this helps

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.