jSocketJavaScript的Socket通讯包
jSocket 是 JavaScript 实现 Socket 通讯的解决方案。
示例代码:
<script type='text/javascript'>
// Host we are connecting to
var host = 'localhost';
// Port we are connecting on
var port = 3000;
var socket = new jSocket();
// When the socket is added the to document
socket.onReady = function(){
socket.connect(host,port);
}
// Connection attempt finished
socket.onConnect = function(success){
if(success){
// Send something to the socket
socket.send('Hello world');
}else{
alert('Connection to the server could not be estabilished');
}
}
socket.onData = function(data){
alert('Received from socket: '+data);
}
// Setup our socket in the div with the id="socket"
socket.setup('#socket');
</script>
评论
VnanoMsgAndroid Socket 通讯库
VNanoMsg是Android下的Socket通讯库,对NanoMsg的二次封装,仿照NNanoM
VnanoMsgAndroid Socket 通讯库
0
VnanoMsgAndroid Socket 通讯库
VNanoMsg是Android下的Socket通讯库,对NanoMsg的二次封装,仿照NNanoMsg的第三方开源库。使用方法添加依赖项在build.gradle中加入VNanoMsg的引用andr
VnanoMsgAndroid Socket 通讯库
0
SpnetKitsockets 通讯的 C++ 包
spnetkit 是一个封装了 BSD 风格的 sockets 通讯的 C++ 包,实现了 TCP、
SpnetKitsockets 通讯的 C++ 包
0
SpnetKitsockets 通讯的 C++ 包
spnetkit是一个封装了BSD风格的sockets通讯的C++包,实现了TCP、UDP、SSL传输层协议。目前已实现的协议包括HTTP客户端、SMTP客户端、POP3客户端和Memcached客户
SpnetKitsockets 通讯的 C++ 包
0
JackalJava通讯包
Jackal是面向基于Java的代理的通信基础设施。Jackal实现了用于代理命名、寻址、识别和通信的协议。该项目最初是通过IBMalphaWorks发布的,现在由UniversityofMaryla
JackalJava通讯包
0
GCDAsyncSocket异步 Socket 网络通讯包
GCDAsyncSocket是用于OSX和iOS上的异步Socket网络通讯包。提供了易用而且功能强大的异步套接字开发库。
GCDAsyncSocket异步 Socket 网络通讯包
0
GCDAsyncSocket异步 Socket 网络通讯包
GCDAsyncSocket 是用于 OS X 和 iOS 上的异步 Socket 网络通讯包。提供
GCDAsyncSocket异步 Socket 网络通讯包
0