开发者

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

开发者 https://www.devze.com 2023-03-14 03:10 出处:网络
Is that possible to create our own server using TcpListener class with IIS being uninstalled开发者_StackOverflow?Yes.

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

精彩评论

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