Is there a way, or a script that will allow two are more users to have access to the same telnet port using Aspect. I have scripts that I use to access sites and want to be able to share my port with a next level of maint. if need be.
Are you trying to share your telnet connection (in Procomm, not at the connection level) with another person so they can "take over" the connection if necessary? If so, you would need a remote control application, such as pcAnywhere or something similar.
The other person wouldn't have to be using Procomm, just telnet. What I would like to do is somehow loop the RX and TX to a second port number on my machine. So lets say that I am telneted into a device using Procomm, I would like to write a script that would take the TX and RX from the telnet port and send it to a second port, say port 1801. So lets say you wanted to work on the device I am telneted into, I would just activate this script and Procomm would set up a port and allow you to telnet into that port and take your TX and RX and redirect it out the my telnet port and vice-versa. If I have to give up control of the port that is fine. I know this can be done with C++ but I was hoping to do it someway with Aspect. I know you can use Procomm to allow someone to access you machine.
This may be possible, but would be some involved work. First, Procomm does not allow incoming telnet connections, but another person turned me on to a piece of software that lets an incoming telnet connection on a particular port look like a regular modem to Procomm.
Second, the telnet client that the other person used would need to support the same terminal emulation that you are using in Procomm, since the escape sequences being sent by the remote machine would be sent to both Procomm and the other connecting machine.
Third, you would likely need two scripts, one for the "real" connection to the server, and a second for the window where you are receiving characters from the second person on the "connection". The first script would read from the real connection and write to the second window, the second script would do the opposite.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.