TCP/IP networking and registry keys

Chad Kitching ckitchng at mb.sympatico.ca
Tue Mar 6 01:58:45 CST 2001


"Ove Kaaven" <ovehk at 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.







More information about the wine-devel mailing list