简体   繁体   English

检测是否在Webapp上启用了UDP或TCP

[英]Detect if UDP or TCP is enabled on webapp

我如何检查我的Web应用程序中是否启用了udp和tcp,我想我需要使用JavaScript进行检查,但是我不知道从哪里开始。

Why are you asking exactly? 你到底为什么要问? Could you further elaborate your question? 您能否进一步阐述您的问题?

TCP and UDP are standard networking protocols and they are very unlikely to be disabled. TCP和UDP是标准的网络协议,不太可能被禁用。 When you are make AJAX requests using the standard APIs the browser will most likely use HTTP which sits on top of TCP (though there are some Google protocols that might work different). 当您使用标准API发出AJAX请求时,浏览器很可能会使用位于TCP之上的HTTP(尽管有些Google协议可能会有所不同)。 But this is besides the point, you do not have to worry about these underlying protocols unless you are doing something really complicated. 但是,除此之外,您不必担心这些基础协议,除非您做的事情确实很复杂。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM