[Wine] Tricking a process in WINE to think its on a certain IP
noone at nowhere.nakfs.com
Fri Jun 16 18:01:18 CDT 2006
I want to make a process believe that its machine's IP address is whatever IP
address I specify. Do you have any ideas on how to do this? I have been trying
to go through the WINE source code, and have been looking in socket.c and
iphlpapi_main.c, but I don't see any small number of places to change.
I have set up a bunch of virtual IP addresses, all associated with my machine.
However, when I run a process under WINE on my machine, the process will use the
main IP address of the machine. What I want is for it to use one of the virtual
IP addresses on the machine.
The big idea is that I want to run several copies of a Windows app on the same
machine and make each copy think that it is running on a separate machine, each
with its own IP address. Although VMWare would make this possible, WINE is so
much lighter and faster that I could have many more copies of WINE running than
More information about the wine-users