Home  >  Article  >  Backend Development  >  php做的服务端 socket 该怎么传递数组传递数组

php做的服务端 socket 该怎么传递数组传递数组

WBOY
WBOYOriginal
2016-06-06 20:25:481294browse

php做的服务端 socket 该怎么传递数组传递数组?

回复内容:

php做的服务端 socket 该怎么传递数组传递数组?

呵呵, 就问问你跟你们客户端,定的是什么样子的通信协议了,

数组 可以编程 json字符串 传输

http://www.jb51.net/article/51852.htm

PHP socket实现机制.

至于数据,数组,json,xml都可以的.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn