,也就是 $connection->send('get'); 如何给指定IP和port发送数据?二、
编写如下代码。**_功能:ws和udp之间互相转换;**_
操作1:用websocket在线测试工具向workerman发送数据结果报错;
报错1:“Warning: Creating default object操作2:用udp测试工具向workerman发送数据结果报错;
报错1:“Notice: Trying to get property of non-object”,也就是“$iot_connectioniot_connection, $data) {
//----start----
var_dump($data);
//返回给udp
$iot_connection->send($data);
//发送给