I'm reasonably new to C/C++ although I have extensive knowlege of Visual Basic. I am trying to convert some software I wrote to Linux so that Linux users can also use it. This is client software I'm talking about (designed to connect to a Windows server).

I am wondering how I can establish a connection with the server and then have separate functions to handle incoming data and to send outgoing data. As I said I'm quite new and have not had much experience of C++ yet. If anyone can help me by providing links to LINUX tutorials or sample source it'd be much appreciated.

John