LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 09: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, 11:14 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

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


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
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
Network Programming in C _ AsiF Linux - General 5 12-05-2006 08:01 AM
network programming using C bastin_gh Programming 4 06-29-2005 05:58 PM
Network Programming Sifvion Linux - Networking 6 05-24-2003 06:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:53 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