WebSockets: IIS: TcpServerSocket

huangapple go评论53阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2023年3月7日 05:00:50
  • 转载请务必保留本文链接:https://go.coder-hub.com/75655810.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定