Results 1 to 2 of 2
Hi all,
How to get the list of TCP , UDP ports running in the linux machine
from /proc/net/tcp ,/proc/net/udp through C program. Anyone have this program pls send me.
...
- 03-26-2009 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 3
getting ports (tcp, udp) from /proc
Hi all,
How to get the list of TCP , UDP ports running in the linux machine
from /proc/net/tcp ,/proc/net/udp through C program. Anyone have this program pls send me.
Thanks,
Barani
- 03-26-2009 #2
You only need to read information from here in two situations:
1. You're an expert and are writing some whizzer new tool for inclusion with the linux networking stack code.
2. You're doing homework.
I'll assume that you're not an expert on this (if you were why would you come and ask us this here - you'd already know the answer), so you must be doing homework.
Asking for answers to your homework questions isn't allowed on this forum.Linux user #126863 - see http://linuxcounter.net/


Reply With Quote
