Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 22nd, 2004, 09:07 PM
unknown0117 unknown0117 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 2 unknown0117 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
list all active ip's?

is there a command that lists all active ip address' while connected to a server?

collusive.ace@gmail.com

Reply With Quote
  #2  
Old November 24th, 2004, 05:56 PM
sfb sfb is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 447 sfb User rank is Corporal (100 - 500 Reputation Level)sfb User rank is Corporal (100 - 500 Reputation Level)sfb User rank is Corporal (100 - 500 Reputation Level)sfb User rank is Corporal (100 - 500 Reputation Level) 
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).

?

Reply With Quote
  #3  
Old November 26th, 2004, 02:58 PM
unknown0117 unknown0117 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 2 unknown0117 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by sfb
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).

?


"IP(s) of other machines which are on the same physical network as the server (Not really possible)." thats what i meant but i realize its not possible thanks for the reply

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > list all active ip's?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT