Pomelo 的 .NET 客户端 pomelo-unityclient-socket

码农软件 · 软件分类 · 游戏开发包 · 2019-10-05 09:26:44

软件介绍

pomelo-unityclient-socket 是 Pomelo 的 .NET 客户端,支持 Pomelo 0.3和新的交流协议,基于原生的 Socket。

示例

API

初始化

using namespace Pomelo.DotNetClient
string host="127.0.0.1";//(www.xxx.com/127.0.0.1/::1/localhost etc.)
int port=3014;
PomeloClient pclient = new PomeloClient();
//listen on network state changed event
pclient.NetWorkStateChangedEvent += (state) =>
{
    Console.WriteLine(state);
};
pclient.initClient(host, port, () =>
{
    //The user data is the handshake user params
    JsonObject user = new JsonObject();
    pclient.connect(user, data =>
    {
        //process handshake call back data
    });
});


本文地址:https://www.codercto.com/soft/d/16074.html

Machine Learning

Machine Learning

Kevin Murphy / The MIT Press / 2012-9-18 / USD 90.00

Today's Web-enabled deluge of electronic data calls for automated methods of data analysis. Machine learning provides these, developing methods that can automatically detect patterns in data and then ......一起来看看 《Machine Learning》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

html转js在线工具
html转js在线工具

html转js在线工具