开发者

Is that possible to create our own server using TcpListener class with IIS being uninstalled?

Is that possible to create our own server using TcpListener class with IIS being uninstalled开发者_StackOverflow?


Yes.

You can listen for incoming TCP/IP connections with TcpListener and implement any protocol you want.

If you want to handle HTTP yourself a better approach might be to use HttpListener rather than implementing the HTTP protocol yourself.


Yes, TcpListener uses TCP/IP stack and has nothing to do with IIS, but if you are trying to create a WebServer using TcpListener, it'd be kind of waste of effort, don't you think?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜