问题
I have a legacy TCP/IP service which listens for a message in a proprietary format on a socket.
When the service receives the message, it processes it and replies with a message in a similar format, (classic request/reply situation).
We cannot change the client calling the legacy service and we want to replace the legacy service with a new one hosted in IIS using WCF and C#.
How do I implement this in WCF? Is it even possible to make WCF understand the proprietary message format? If not then any alternatives to WCF? I have flexibility here but must use C# and .NET.
来源:https://stackoverflow.com/questions/42507380/how-do-i-implement-a-legacy-tcp-ip-service-in-wcf-and-c