www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - To get the ipaddress of all the system connected in server

reply "mani kandan" <mani_agape rediffmail.com> writes:
Content-type: text/plain;
	charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

  =0A  =0AHai,=0A      I am working in python project. I want to find out a=
ll the terminal connected to the DHCP server and select the particular devi=
ces for firmware download. Just give me the code to get the ip address and =
name of all the system connected to the DHCP server.=0A=0AThank's and regar=
d's,=0AR.Manikandan.
Jan 25 2008
next sibling parent Christopher Wright <dhasenan gmail.com> writes:
mani kandan wrote:
   
   
 Hai,
       I am working in python project. I want to find out all the terminal
connected to the DHCP server and select the particular devices for firmware
download. Just give me the code to get the ip address and name of all the
system connected to the DHCP server.
First, we wouldn't give you Python code; we'd give you D code. Second, that's nontrivial, and depends on which DHCP server you have installed. You could probably parse the logfiles to get the information, or you'd have to create Python bindings for the development files for whichever DHCP daemon you have, or at the very least you'd have to connect with sockets according to the abilities of the daemon and issue commands and parse the results. Third, you don't even want to connect to a DHCP server to track downloads. You need to look at the webserver or FTP server. Fourth, this is probably for a company. You're probably getting paid. That means you're outsourcing your work to us without paying. If anyone else responds, I don't expect them to be as civil as I am. Unless you offer compensation, and a decent amount of information.
Jan 25 2008
prev sibling parent novice2 <sorry noem.ail> writes:
mani kandan Wrote:
 all the terminal connected to the DHCP server
1) imho, you means PC with telnet terminal emulation? imho terminals not use network, it use serial interfaces. 2) connected to DHCP? imho, all devices not connects to DHCP. it just send several packets with IP address request and receive responce. no permanent connection. (may me i am wrong)
Jan 25 2008