Simple Peer-to-Peer in C.

Using C instead of C++, can anyone link me to a for-dummies example of simple peer-to-peer connections in C? I want to make a program that can send and receive simple variables on a peer-to-peer network. Thanks!
http://msdn.microsoft.com/en-us/library/windows/desktop/ms740149(v=vs.85).aspx

Use ctrl+f and enter "Example Code". You didn't mention a platform so I assumed Windows, sorry if that is not correct.
That is simple. Thanks! Is there anything that is platform independent and can send and receive data regardless of the operating system? Sending variables from Linux to Windows, for example?
Yes, there are a few libraries that let you write portable code for sockets. I like SFML personally, Boost::Asio is another popular choice.
Topic archived. No new replies allowed.