LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-26-2014, 10:40 AM   #1
ajutirur
LQ Newbie
 
Registered: Dec 2014
Posts: 1

Rep: Reputation: Disabled
network programming


please suggest a c program to display the active ports in a system and the associated ip addresses...
 
Old 12-26-2014, 12:14 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
You could always look at the source code for netstat.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:47 PM
Network programming in c tarunchawla Programming 2 06-27-2011 12:00 PM
Network Programming in C _ AsiF Linux - General 5 12-05-2006 09:01 AM
network programming using C bastin_gh Programming 4 06-29-2005 06:58 PM
Network Programming Sifvion Linux - Networking 6 05-24-2003 07:12 AM


All times are GMT -5. The time now is 08:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration