"Ove Kaaven" ovehk@ping.uio.no wrote:
On Mon, 19 Feb 2001, Alan Chandler wrote:
[System\CurrentControlSet\Services\Class\NetTrans\0000] "IPAddress"="10.0.10.100"
Nah... the IP address can change between Wine invocations (PPP, DHCP, and things like that), so it would have to be a dynamic key, generated at Wine startup or something like that (I think we already have a couple of those?), but then there's a question of how to get the OS's network interface IPs portably...
I just checked on Windows 98, and when the system is set for DHCP, the IPAddress and IPMask fields are "0.0.0.0". I doubt that you'd really need to set the correct, assigned IP address (since Win98 doesn't). The other side effect of this would be for a rather brain dead program like this, the call would succeed since it would be listening on all interfaces.