LinuxQuestions.org
Visit Jeremy's Blog.
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 03-09-2015, 04:47 AM   #1
austin0902016
LQ Newbie
 
Registered: Mar 2015
Posts: 2

Rep: Reputation: Disabled
New to Network Programming


HI All,

I have a 10 +years Networking Experience. I don't have any programming background. I am interested in layer 3 and layer 2 Networking protocol development (programming).

Kindly suggest the step bye step detail plan for the same.

looking forward to your valuable opinion and suggestions.

Regards
AJ
 
Old 03-09-2015, 07:51 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Welcome to LQ!

Start from the ground up and learn programming. C language is a great place to start.

This is a big topic, not something you can spend a weekend at and become a master of it.

If you can, find ways to obtain programming assignments as part of your job so that you can learn with a goal in mind and the pressure of needing to accomplish something useful and desired within your work arena.

Choosing independently to write programs to assist in your work environment is a gray area in that if you're effective and churn out useful utilities in short order, especially ones which enhance your effectiveness and assist others, then great and it might help to get it noticed that you're putting in efforts at becoming a programmer. But if you end up being a person always looking to say, "Look at this cool utility I wrote!", and no one, especially the boss, doesn't care ... that would be the darker side of the gray area where the boss may be wondering what exactly you're doing.

As far as starting.
  1. Google for C programming instruction guides and note that in the PROGRAMMING forum there is a sticky post offering exactly that:
  2. Start with fundamental programs, as well as scripts, grow from there
  3. Begin writing network based programs and utilities, look for things which may enhance your current job, a utility that maybe already exists, but you can mimic
  4. Look at protocol standards and attempt to write your own copy of a known protocol where you can test it live
  5. To back up, this is a Linux forum my first and foremost recommendation is that C programming in Linux is easy and great to perform because you can use the command line, a text editor, and the GNU tools, GCC for building the code, GDB for debugging the code, become familiar with those things and grow your knowledge there
  6. Be capable of filtering some things which you don't fully understand. I.e. in learning GCC, that itself is a huge topic as is the topic of Make and Makefiles. Maybe learn the minimum you need to be able to compile a program, for now and when you've started to improve your programming skills, and find you need to understand compiler directives or the structure of a Makefile, then at that point put in more effort to learn about those topics. Because right now a main focus would be to just get started with programming.
 
1 members found this post helpful.
Old 03-09-2015, 09:15 AM   #3
SoftSprocket
Member
 
Registered: Nov 2014
Posts: 399

Rep: Reputation: Disabled
Once you've started down the road expressed by rtmistler, at least enough so that you can read the C language, you will find code in the Linux network stack worth reading. There are quite a few good books to use as maps of the protocol stack. "Understanding Linux Network Internals" from O'Reilly is one example.
 
Old 03-09-2015, 09:23 AM   #4
genss
Member
 
Registered: Nov 2013
Posts: 741

Rep: Reputation: Disabled
the kernel does the layer 2-3 stuff
you can go around it by using raw sockets

wireshark is great for debugging

PS endianness... argh, you'l see

Last edited by genss; 03-09-2015 at 09:25 AM.
 
  


Reply

Tags
programming



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
Network programming hellosachin4 Linux - Networking 2 08-17-2011 02:47 PM
Network programming in c tarunchawla Programming 2 06-27-2011 11:00 AM
Help: network programming in c rashmirathi Programming 3 03-11-2008 10:11 AM
Help: network programming in C rashmirathi Linux - Networking 1 03-11-2008 03:55 AM
network programming using C bastin_gh Programming 4 06-29-2005 05:58 PM

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

All times are GMT -5. The time now is 11:44 PM.

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