HOW CAN I CREATE A SOFTWARE INTERFACE TO THE INTERNET?

Hi there, I've written a small console program that is suppose to work like a chatroom. My intention is to have my girlfriend install the program on her computer and then we can chat over the internet using my program. My problem is that I don't know how to create an interface to the internet to enable my program send and receive messages.
Sockets are said interface. There are many socket tutorials on the internet.
@Athar
May I make a new class which is only used for sockets and network connection?
I need some of basic functions (only names), important structures, variable types, macros and basic knowledge that's enough to start.
Last edited on
closed account (zwA4jE8b)
Check out SDL and SDL_net. It makes socket connections very simple. You just have to decide on how you want to handle the data flow.

http://www.libsdl.org
http://www.libsdl.org/Projects
Topic archived. No new replies allowed.