php TCP底下socket发送16进制内容

正文开始

$sendStr = '1b0101a1a10d0a';<br />    // 向浏览器发送hello world <br />    $connection->send(hex2bin(preg_replace('# #', '', $sendStr)));<br /><br />

正文结束

PHP接口(interface)和抽象类(abstract) waring stream_socket_server has been disabled for security reasons i