At the moment I can't think of a way to do that. Is this an application you have the source code for? If not, then there are a couple of alternative things I can think of.
1. If the program has a configuration file that determines, what the port is that it connects on, make several different config files and copy over the config file for each instance you run to make it connect to a different IP and Port.
2. See if there is a command line interface for the application. From a DOS window, type "AppName /?" without the quotes and see if it gives you parameters where you can change the IP or the port. If this is the cause launch the program from the command line.
3. As a last ditch effort, you'll be fortunate if the application uses the name of the port instead of the Port number. If this is the case, then you can modify the "Services" file for Windows that points to the Telnet port. You can do a similar thing with this file that I mentioned with the config file. Here's a clip of what this Services file looks like:
Code:
echo 7/tcp
echo 7/udp
discard 9/tcp sink null
discard 9/udp sink null
systat 11/tcp
systat 11/tcp users
daytime 13/tcp
daytime 13/udp
netstat 15/tcp
qotd 17/tcp quote
qotd 17/udp quote
chargen 19/tcp ttytst source
chargen 19/udp ttytst source
ftp-data 20/tcp
ftp 21/tcp
telnet 23/tcp
smtp 25/tcp mail
time 37/tcp timserver
time 37/udp timserver
You can write an application that goes in and changes the telnet port from 23/tcp to 1000/tcp or something like that. You'll have to change this file before every launch of the new instance..
Just some thoughts... Snaggs
tribesaddict@swbell.net
There are two kinds of people in life: people who like their jobs, and people who don't work here anymore.