[]socket通信发送protobuf后服务端是string

var msgByteArray:WritingBuffer = new WritingBuffer();
message.writeTo(msgByteArray);
msgByteArray.position=0;


_socket.send(msgByteArray);

send之后服务端收到数据之后为string
已邀请:

hjy1234123

赞同来自:

不能了。。。

wt1993113

赞同来自:

这个demo是根据 http://ask.layabox.com/question/890 这个例子改的,服务器端用什么样的包能解析layaair的protobuf的数据呢

要回复问题请先

商务合作
商务合作