Question for your brilliance...
Hi all.
Okay, that was a cheap attempt at flattery to entice you to read this post and (possibly) help ejimuk8 me. :)
I have an interesting situation which is about to turn into a huge research project for me, and I thought I'd try to gain the benefit of the combined genius of this group of bloggers.
I'm about to have to write a Windows Service to act as an interpreter between an old (30 years or so) suite of programs and a new .NET data-driven web application. This service will basically impersonate the Server component of this old system, passing messages back and forth between the old sytem and the new system.
Apparently, the old system does some crazy magic where it can be simultaneously connected to multiple applications on the same port. While I've done some socket programming, I'm not really an expert, so this sounds strange to me. I always thought, once you connect via a port, that port gets “closed” to other connections. Am I wrong here? If not, how would you set up connections in .NET so that you can have multiple connections on the same port?