Hello, assume the following: a TCP/IP based device which initially has no IP address and the assignment of an IP works by creating a static MAC address for the desired IP with the MAC address of this device. After this a ping is sent to this IP addres. The device now sees a ARP package with his MAC and a target IP and since it has no IP yet assumes this must be his new IP. After this it posseses a IP and can be reached via the IP.
I've written a application where the user can enter a MAC and the desired IP, using ICS V5 (I'll switch when I'm able to switch to a newer unicode able Delphi version, currently not possible). Under Windows XP it works if one has admin rights, because the API function to create a static mac entry needs them. For Windows 7 I applied a different approach today called COM Elevation Moniker which results in the display of a UAC prompt before the call of the ARP table adding function where the user must impersionate as admin. The ARP entry is created, but the ping to this address fails. Issuiny a ping from command line to this IP also failes with "timeout". Is there anything different under Vista/Windows 7? The PC is not in a domain and IP addresses are assigned manually. Albeit W7 says "unknown network". I'm not sure how to get rid of this one though. Any hints for me? Greetings Markus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
