March 1st, 2012, 10:59 AM
Using ASP to connect applications running on another port
My application is running on port 2020. Client applications connect to it on that port and use a protocol similar to FTP.
Now this requires ports being opened at server and client. I want them to use port 80 or 443 which is currently being used by IIS.
I am think of writing an aspx which simply bridges the server and client apps. Is it possible? if so is that a good idea?
I can make changes to the server and client code (C++) if required.
Last edited by ramprasad85; March 1st, 2012 at 01:33 PM.
March 1st, 2012, 04:30 PM
This forum is mostly classic asp oriented. If you want to use ports 80 or 443 then you'll have to disable IIS. There should be some socket object in NET but I don't do asp.net myself, sorry.
The man who doesn't read good books has no advantage over the man who can't read them.
March 2nd, 2012, 12:45 AM
OK, Is is possible using classic asp.
Originally Posted by Doug G
I want to do something like:
1. the client connects to port 443
2. the asp page reads from the client and internally connects to the other application on 2020 and send the data to it.
3. and then reads from the reply on 2020 and sends it back to the client.
4. This repeats as long as either the server or client closes.
Or as you say is to possible to send the socket object (if there is one in classic asp) to the other application (C++)?
March 2nd, 2012, 02:05 PM