C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 08-06-2004, 08:49 AM   #1
Registered User
 
Join Date: Aug 2004
Posts: 3
Winsock in C and in Linux?

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
3D-Realitycom is offline   Reply With Quote
Old 08-06-2004, 01:03 PM   #2
and the hat of Jobseeking
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,680
Start by reading through this lot
Useful Links And Good Books

To be honest, you need to get up to speed a little on the C or C++ front before tackling something like this. There are plenty of traps which are easy to disguise through simple coding mistakes.

Just so you know, there is no actual language called C/C++.
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.

Salem is offline   Reply With Quote
Old 08-06-2004, 02:31 PM   #3
Registered User
 
Join Date: Aug 2004
Posts: 3
Then what is C and what is C++... I was under the impression that they were both programming languages and that C++ was a more up to date and improved version of C
3D-Realitycom is offline   Reply With Quote
Old 08-06-2004, 02:32 PM   #4
Registered User
 
Join Date: Aug 2004
Posts: 3
I see what you mean - I think - nooo! / is a separator... meant to be understood like "or"

John
3D-Realitycom is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump


All times are GMT -6. The time now is 10:25 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22