954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Simple networking

I'm trying to implement a very simple networking solution in C++. I've found a couple guides, but they all go far above and beyond what I actually need to do, so I figured I'd ask.

I need to connect two computers. One computer will be broadcasting a (changing) integer on some particular port. The other computer will be listening to the first computer on that port and display said integer. The actual implementation is, obviously, more complex, but is unimportant. At the very core, this is all I need to do.

If anyone has a solution to this problem, I would greatly appreciate it.

mbarriault
Newbie Poster
4 posts since Apr 2008
Reputation Points: 10
Solved Threads: 0
 

socket tutorial and another one here

No matter what you do there is some basic amount of socket programming you will have to do.

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You