我是否使用带有ISAPI的websocket? [英] Do I use websocket with ISAPI?
本文介绍了我是否使用带有ISAPI的websocket?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我做了一些研究但没有找到任何东西,ISAPI已经很老但我有很多东西并且稳定,我想知道我是否可以使用websocket。
我不想为服务器使用特定端口。我希望在端口80或443上运行IIS后面的所有内容。
我尝试过:
我在google上搜索并在codeproject上搜索。
解决方案
这没有意义。 ISAPI用于为IIS编写扩展和过滤器。
Web套接字用于客户端和侦听端口的非Web服务器之间的TCP / IP通信。该端口不能是端口80或443,因为它们被HTTP服务器占用。
你想用ISAPI和网络套接字做什么?
Hi
我在isape websocket上找不到任何东西。我认为这是一种可行的方法。我看到它的方式是浏览器能够做到 - 然后服务器必须遵守浏览器调用。所以,如果你在isapi中处理UPGRADE,那么为什么不呢?!?
我将继续努力,我很乐意让你知道我的意思想出来。
I did some research and did not find anything, ISAPI is old but I have a lot of things and stable, I wanted to know if I can use websocket on it.
I did not want to use a specific port for the Server. I want everything running behind IIS on port 80 or 443.
What I have tried:
I searched on google and here at codeproject.
解决方案
This doesn't make sense. ISAPI is used for writing extensions and filters to IIS.
Web sockets is used for TCP/IP communication between a client and a non-web server listening on a port. That port can NOT be port 80 or 443 because those are taken up by the HTTP server.
What are you trying to do with ISAPI and web sockets?
Hi I can't find anything on isape websocket either. I do think this is a viable way to go. The way I see it is the browser is able to do it - then the server has to comply with the browsers calls. So if you handle the "UPGRADE" in your isapi then why not?!?
I am going to work on this and would be happy to let you know what I come up with.
这篇关于我是否使用带有ISAPI的websocket?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文