How do I implement a legacy TCP/IP service in WCF and C#?

我们两清 提交于 2019-12-24 11:54:15

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!