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.
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.