LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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


Reply
  Search this Thread
Old 07-20-2004, 09:53 AM   #1
david4
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
How to become a good linux socket programmer?


I like to become a good programmer in linux sockets.
How can I improve my knowledge. any e books, web sites, or programs to start with.
 
Old 07-20-2004, 12:06 PM   #2
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
david4; for leads peruse the howto,s under section 4.6 PROGRAMMING subsections 4.6.1-thru4.6.10 also take a look at the Single list of HOWTOs
section 5 & 6.
 
Old 07-20-2004, 11:21 PM   #3
shrey_j
Member
 
Registered: Jul 2004
Location: Delhi
Distribution: FC3, RH 9.0
Posts: 39

Rep: Reputation: 16
There is one guide called Beej's Socket programming guide, which is available as (various options pdf,html,ps etc etc). Try and search it in google. I found pretty concise and good.

try it out may be it helps you

shrey
 
Old 07-21-2004, 08:27 AM   #4
deiussum
Member
 
Registered: Aug 2003
Location: Santa Clara, CA
Distribution: Slackware
Posts: 895

Rep: Reputation: 32
The best way to become a better programmer with any given set of APIs is to actually write programs with those APIs. Reading up on documentation is great, but writing your own programs actually gets you thinking more on how to use those APIs, and helps you remember them better.

In the case of sockets, you might think about looking at some of the RFCs for well defined protocols like HTTP and FTP, and trying to write some code that implements them.
 
Old 07-21-2004, 08:48 AM   #5
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
deiussum; thank you, what a great way to inspire us with writing programming. builds on solid foundation!
 
Old 07-21-2004, 09:48 AM   #6
vanhelsing
Member
 
Registered: May 2004
Posts: 130

Rep: Reputation: 15
I'm reading "Beej's Guide"
 
Old 07-21-2004, 11:09 PM   #7
shrey_j
Member
 
Registered: Jul 2004
Location: Delhi
Distribution: FC3, RH 9.0
Posts: 39

Rep: Reputation: 16
One question concerning deissum answer : Is it possible to completly remove the TCP layer and work on the IP layer. I mean can we remove the socket API and work directly under it?? Actually this is a question I put up in the thread [link underneath]. Please if you have a answer, do give me.

Thanks a lot , [and sorry david4 for interferring your thread]


http://www.linuxquestions.org/questi...32#post1061832
 
Old 07-22-2004, 08:27 AM   #8
deiussum
Member
 
Registered: Aug 2003
Location: Santa Clara, CA
Distribution: Slackware
Posts: 895

Rep: Reputation: 32
Quote:
Originally posted by shrey_j
One question concerning deissum answer : Is it possible to completly remove the TCP layer and work on the IP layer. I mean can we remove the socket API and work directly under it?? Actually this is a question I put up in the thread [link underneath]. Please if you have a answer, do give me.

Thanks a lot , [and sorry david4 for interferring your thread]


http://www.linuxquestions.org/questi...32#post1061832
As was already mentioned in your thread, you can create RAW sockets, which work at a lower level than the TCP layer. Trying to completely remove sockets would be much more difficult.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Good practices as programmer interview candidate? lowpro2k3 Programming 3 10-21-2005 02:15 PM
Programmer to Programmer ( Long Story Of A GUI ) mdoubledragon Programming 1 10-13-2005 05:41 PM
newbie Linux programmer uglyugly Programming 4 06-08-2004 08:46 AM
Brand New to Linux, intermediate Programmer, want to program for linux destop apps albertrosa Programming 4 12-08-2003 07:49 AM
Exp. Windows/Linux-Script Programmer - Need Linux Programming Mentor! ruttiger Linux - Newbie 2 10-28-2001 11:00 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration