Sending commands to a CoD server

I decided to try to make a rcon tool for my clan. I'm working on the interface right now, and that's going along smoothly. However, once that's done I don't know anything about sending and receiving information from a server so I'll be stuck. I have done a lot of looking around, and some people have mentioned winsock2 but I haven't been able to find any good information on it. Can someone point me in the right direction? Is this the path I should be headed down?
Yes, sockets are the way to go. Tutorials are easily found by searching for "socket tutorial" or something similar in Google.
Once you get your sockets up and running, you would want to think of the protocol for communication. It could be a customized protocol or even simple CSV protocol or whatever.

But for messaging purposes, I seem to see XMPP mentioned quite frequently.

http://en.wikipedia.org/wiki/Extensible_Messaging_and_Presence_Protocol
Topic archived. No new replies allowed.