Home > Backend Development > PHP Tutorial > 求高手 php socket 16进制数据发送有关问题

求高手 php socket 16进制数据发送有关问题

WBOY
Release: 2016-06-13 13:10:56
Original
750 people have browsed it

求高手 php socket 16进制数据发送问题
我的server要接收到”FA 01 01“,是16进制,我该如何发送!
直接发送,接收到是”31 36 33 38 34 32 35 37 “
谢谢!

------解决方案--------------------
"\xFA\x01\x01" 

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template