如何使Windows服务在同一个IIS端口上侦听? [英] how to make windows service that listen on the same IIS port ??

查看:157
本文介绍了如何使Windows服务在同一个IIS端口上侦听?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


HIII ALL

 

HIII ALL

我想要在IIS同一端口上一直监听的阻止Windows服务< br>从任何请求的页面绑定到IIS获取一些信息(_ LIKe页面URL)它作为跟踪IIS端口的监视应用程序。

请HELLLLP;)

感谢提前。

i want to impelement windows service that listen all the time on  IIS same port
to get some information (_ LIKe page URL) from any requested page bind to IIS
it works as  monitoring app that tracks IIS port.

please HELLLLP ;)

thanks in advance.

推荐答案

据我所知,没有简单的方法可以在.NET中执行您的请求。要收听已经在使用的端口,您必须在网络堆栈中获得相当低的值。在IIS的情况下,我建议查看ISAPI扩展(http://msdn.microsoft.com/en-us/library/ms524610.aspx)。希望这会有所帮助。
To the best of my knowledge, there is no easy way of doing what you are requesting in .NET.  To listen in on a port that is already in use you will have to get fairly low in the network stack.  In the case of IIS, I would suggest looking into an ISAPI extension (http://msdn.microsoft.com/en-us/library/ms524610.aspx).  Hope this helps.


这篇关于如何使Windows服务在同一个IIS端口上侦听?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆