
November 24th, 2004, 05:56 PM
|
|
Contributing User
|
|
Join Date: Nov 2003
Posts: 447
  
Time spent in forums: 2 Days 1 h 43 m 45 sec
Reputation Power: 9
|
|
|
Simply, no, but it might help if you explained what you mean by 'active IPs'.
- IP of the server ( see the socket module and socket.gethostbyname(socket.gethostname()) )
- IP(s) of the server (OS dependant, maybe available from the 'socket' module).
- IP(s) of the server, which are currently in use (very OS dependant).
- IP(s) of other machines on the network, with which the server is currently talking (see 'net session' on a Windows server for an example).
- IP(s) of other machines anywhere (e.g. the internet), with which the server is currently talking (see 'tcpview' from SysInternals.com on Windows for an example)
- IP(s) of other machines which are on the same physical network as the server (Not really possible).
- IP(s) of other machines which are on the same physical network as the server, and which are currently switched on (a port-scanner such as nmap, see other threads for discussion).
- IP(s) assigned to other machines by a DHCP server on the local network and are therefore unavailable for other uses (OS and DHCP server dependant).
- IP(s) assigned to other machines on the same logical network [, and all of the above again] (no idea).
?
|