Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-09-2004, 02:40 PM
|
#1
|
Member
Registered: Jun 2003
Posts: 166
Rep:
|
(C++) Unix/Linux Networking Socket tutorials ?
I bought some books (and find my wallet exhausted might I say) so I can't afford another book that focuses on Linux as opposed to the neutral books that goes all windows when the networking chapter opens up (how could I know, I am/was a newb!)
Regardless, I've read a bit and think I have a (somewhat) working understanding of the c++ basics, and I really would like to dive into the socket programming now.. So is there any (non after-college paper) on this ?
I ran into very few papers, and they were study material for network & communications educations ( i believe). And for a 16 year old, that's a bit much.
I *really* hope someone would point me in the right direction, thanks a whole bunch in advance! (And I'd rather not run over the winsock.h tutorials in my book cause I have no intentions of developing software for windows (at least yet!))
|
|
|
08-09-2004, 03:16 PM
|
#3
|
Member
Registered: Jun 2003
Posts: 166
Original Poster
Rep:
|
I ran over the top one once. Although it makes me wonder:
Can I really use this C code and compile it as cpp ? or will libraries, calls etc be different ?
|
|
|
08-09-2004, 03:22 PM
|
#4
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
You can, no problem. A correct piece of C code is also a correct piece of C++ code.
|
|
|
08-09-2004, 03:26 PM
|
#5
|
Member
Registered: Jun 2003
Posts: 166
Original Poster
Rep:
|
Just brilliant  That's why I skipped that site in the first place, thanks 
|
|
|
08-09-2004, 04:28 PM
|
#6
|
Member
Registered: Mar 2003
Posts: 804
Rep:
|
|
|
|
08-09-2004, 04:58 PM
|
#7
|
Member
Registered: Jul 2004
Posts: 96
Rep:
|
book @ http://www.advancedlinuxprogramming.com/
has a chapter dealing with interprocess communication (including sockets for communication over network). there is also a chapter where they implement a full-fledged example application (some sort of a mini web-server serving pages that show system info).
Hope that helps,
---
Maksim Sipos
|
|
|
08-09-2004, 05:43 PM
|
#8
|
Senior Member
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536
Rep: 
|
Note that the book mentioned by max_sipos is freely downloadable entirely (each chapter as one PDF) from the site.
|
|
|
All times are GMT -5. The time now is 07:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|