当IIS重新启动或回收应用程序池时,如何清洁关闭服务器?
我正在使用使用httpplatformhandler模块在IIS注册的Winsock编写服务器应用程序。
到目前为止,它似乎运行良好。我想知道如何更改代码以允许其干净地关闭。目前,我必须启动任务管理器并杀死我的程序和应用程序池。
I'm writing a server app using Winsock that is registered with IIS using the httpPlatformHandler module.
It seems to be working fine so far. I'm wondering how I should change my code to allow it to shut down cleanly. Currently I have to start Task Manager and kill my program and the App Pool.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论