Add net_listen_address function to lookup bind address of a listen socket

This commit is contained in:
Doug MacEachern committed 2007-04-06 12:50:05 +00:00
1 parent fbaa233617
commit f6f395d68e
3 files changed
+33

No files matched your search

+4
View File
@@ -686,6 +686,10 @@ sigar_net_stat_port_get(sigar_t *sigar,
unsigned long port);
SIGAR_DECLARE(int)sigar_net_listen_address_get(sigar_t *sigar,
unsigned long port,
sigar_net_address_t *address);
SIGAR_DECLARE(const char *)sigar_net_connection_type_get(int type);
SIGAR_DECLARE(const char *)sigar_net_connection_state_get(int state);