Advertisement

Simple Network Question

Started by August 10, 2004 12:04 AM
3 comments, last by CryonicGhost 20 years, 6 months ago
I haven't done any network programming before but was wondering if someone might be able to give me a hand on getting started. What I want to do is I've got a program doing some image processing and I want the two computers to send some data from one to another - just so the other one knows the results the other one got - i'd rather do it using a network connection rather than a serial port connection just for the reason of doing something a bit different - Any help on getting started or how I can get going with this from a MFC/VC++ environment would be much appreciated. Thanks in advance, James
The book "Network programming for microsoft windows" might be a good read.

As for a practical, fast and easy example in MFC you can check the chat server example in the MSDN documentation (I think it's called CHATTER or something along that line).

Another place to look for examples is Codeprojects' Network section .

Gizz
Advertisement
I suggest you investigate MPI, the Message Passing Interface. This API is designed for scientific data processing and is designed around the 'distributed computing' paradigm. The API has been ported to a variety of platforms such as Win32, Linux, Solaris, IRIX, etc, thus making it easy to use the usual heterogenous network of machines that litter university campuses.

-cb
If you want to start with simple networking I would sugget Beej's Guide to Network Programming. It is a good introduction to network sockets and has good code samples.
Thanks guys! Heaps of stuff here to get me started!

This topic is closed to new replies.

Advertisement