I hope it is possible to get the necessary details of each network port from /etc/services
. If I have to develop a C++ program to get the status of each port how should I start it? I am not allowed to call netstat
, ss
or anything similar from my program. Is there some files in the filesystem from which I can get the information?
Aucun commentaire:
Enregistrer un commentaire