In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces whether javascript can use socket related knowledge, the content is detailed and easy to understand, the operation is simple and fast, has a certain reference value, I believe you can read this javascript whether you can use socket article will have a harvest, let's take a look.
Socket cannot be used in JavaScript. Although JavaScript does not support socket protocol transmission, it can use js and flash to call each other, and flash supports socket protocol transmission, so javascript can use socket indirectly.
The operating environment of this tutorial: windows10 system, javascript1.8.5 version, Dell G3 computer.
Can javascript use socket?
Js does not support socket protocol transmission; js and flash can be used to call each other, flash supports socket protocol transmission, and javascript uses socket indirectly
A data packet is generated by the application, goes into the protocol stack and wraps all kinds of message headers, and then the operating system calls the network card driver to direct the hardware and sends the data to the peer host.
What is Socket?
A data packet is generated by the application, goes into the protocol stack and wraps all kinds of message headers, and then the operating system calls the network card driver to direct the hardware and sends the data to the peer host.
The general diagram of the whole process is as follows:
This is the end of the article on "whether javascript can use socket". Thank you for reading! I believe you all have a certain understanding of "whether javascript can use socket". If you want to learn more, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.