摘要
Node.js是全球最受欢迎的Web应用开发平台,它采用模块式的开源框架结构,聚集了众多的开发资源,其中socket.io模块封装了网络底层通信,支持多种网络通信协议,易于实现跨浏览器通信。通过分析socket.io模块的通信功能,实现了服务器与浏览器之间的双向通信,并说明了编程方法。
Node.js is the world's most popular web application development platform.It adopts modular open source framework structure and gathers numerous development resources,among which Socket.IO module encapsulates the underlying network communication,supports various network communication protocols and is easy to implement cross browser communication.Through analysis of the communication function of Socket.IO,bidirectional communication between server and browser is realized and the programming method is explained.
出处
《长江工程职业技术学院学报》
CAS
2016年第1期31-32,共2页
Journal of Changjiang Institute of Technology
关键词
服务器
浏览器
通信
server
browser
communication