英文:
WebSockets: IIS: TcpServerSocket
问题
I have a question. I have a web application that is hosted on IIS. And I have TCpSocketServers running on several separate machines listening on separate ports. My requirement is for the web application to connect to the tcpserver and get realtime data. My thought originally was to write an ASP.NET Core SignalR Hub hosted on my IIS(ssl enabled) which in turn acts as a tcp client to the servers. Is this possible? If not, what are my options? I'm not clear as to how the Asp.net core signalr app can be made a tcp client.
英文:
I might be posting in the wrong place, but, I have a question. I have a web application that is hosted on IIS. And I have TCpSocketServers running on several separate machines listening on separate ports. My requirement is for the web application to connect to the tcpserver and get realtime data. My thought originally was to write an ASP.NET Core SignalR Hub hosted on my IIS(ssl enabled) which in turn acts as a tcp client to the servers. Is this possible? If not, what are my options? I'm not clear as to how the Asp.net core signalr app can be made a tcp client.
https://stackoverflow.com/questions/9537641/node-js-socket-io-vs-signalr-vs-c-sharp-websocket-server
Any help is appreciated.
答案1
得分: 0
我在ASP.NET Core中编写了一个SignalR服务器(它将连接到TcpServer),以及一个JavaScript客户端。
英文:
I ended up writing a SignalR Server in ASP.NET Core(that would connect to a TcpServer) and a javascript client.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论