Ok, heres what I would like to try... I receive a data packet from a client to my web server. I want to monitor the port that the data packet comes in so that when the data packet is received, I can open it and extract the information and then respond to it in the appropriate manner. I have managed to create a simple TCPServer and a TCPClient. The TCP Server listens to a particular port and prints out any message that it receives from the TCPClient. Now the above method works for ports that are not already occupied. I expect that the data packets will arrive in at port 80, so my TCPServer will not work as IIS already occupies that port.
Anyone got any suggestions on how to overcome this problem, or is there a different approach that I can take.
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.