#17796 - 07/30/02 11:13 PM
Re: DHCP detection
|
Joined: Mar 2002
Posts: 257
psychogen
Member
|
Member

Joined: Mar 2002
Posts: 257
UK
|
Cheers SR! Never thought about looking in the registry! And yeah I know how to process the registry! Tx Again, now if anyone has a win98 box and could source those keys out for me with the full path that would be great cause i have no box running 98 within my reach 
The use of "hacker" to mean "security breaker" is a confusion on the part of the mass media. We hackers refuse to recognize that meaning, and continue using the word to mean, "Someone who loves to program and enjoys being clever about it." -------------------- "Its not a bug, its a feature" (Epic Games)
|
|
|
#17798 - 08/01/02 04:06 PM
Re: DHCP detection
|
Joined: Mar 2002
Posts: 257
psychogen
Member
|
Member

Joined: Mar 2002
Posts: 257
UK
|
See I am writing a plugin for the OfficeChat app i had been writing for quite some time, basicaly this plugin searches your disk(s) for mp3 files and then creates a Access db file with the ID3 Information of the files and where they are located by network path (eg. //mycomp/c/mp3/lamer.mp3) but i want to create the network paths by IP address rather than host name, now there is no problem in doing that but I found that some machines on the LAN have dynamic IP addresses(most likely by DHCP being enabled). The idea is to be able to use the same app as a Internet and WAN app so hostnames wont do the job.
So by knowing what if the IP addresses are static or dynamic I can implement a scanning routine to see if the IP has changed since last usage of the app, if it has the DB needs to be updated with new paths, and rather than having the user archive all their files again (which with over 200 files can take a [censored] of a time) I would write a loop that replaces the old IP with the new one through using a string var.
Now what happens is that with the plugin you can stream mp3s over the LAN/WAN or whatever by just searching throug each users mp3 archive(DB) and drag and dropping the files to ur mp3 player.
Does it make sense what I just wrote?
Well you might think, why does he not write a piece of code that will change the DHCP settings. Well i noticed that some comps need DHCP active cause of certain things they do, god knows what, and I dont want to [censored] to much with the users comps settings.
Get it?
Well thats why!
The use of "hacker" to mean "security breaker" is a confusion on the part of the mass media. We hackers refuse to recognize that meaning, and continue using the word to mean, "Someone who loves to program and enjoys being clever about it." -------------------- "Its not a bug, its a feature" (Epic Games)
|
|
|
|
Forums41
Topics33,701
Posts68,795
Average Daily Posts0
|
Members2,173
Most Online1,567 Apr 25th, 2010
|
|
|
Okay WTF?
by HenryMiring on 09/27/17 08:45 AM
|
|
|
|
|
|
|
|