BSD port-name versus port-name to give to netstat
BSD port-name versus port-name to give to netstat
- Subject: BSD port-name versus port-name to give to netstat
- From: Jérome Foucher <email@hidden>
- Date: Mon, 22 Jul 2002 14:15:33 +0200
Hi all,
My app needs to call netstat for a specified interface, thus with the
option -I followed by the port name.
But the port name used in netstat is quite different from the BSD port
name I currently have.
For instance, for the internal modem, the BSD name is "modem", but for
netstat it's "ppp0"
Is it possible to retrieve the netstat port name given the BSD port
name ? If so, how ?
Thanks
Jirome
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.