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.

socket tutorial and another one here

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.