gatewayworker udp报错

codebs

PHP Notice: Undefined property: Workerman\Connection\UdpConnection::$gatewayHeader in /web/socket/GatewayWorker-master/GatewayWorker/Gateway.php on line 337

Notice: Undefined property: Workerman\Connection\UdpConnection::$gatewayHeader in /web/socket/GatewayWorker-master/GatewayWorker/Gateway.php on line 337
PHP Notice: Undefined property: Workerman\Connection\UdpConnection::$session in /web/socket/GatewayWorker-master/GatewayWorker/Gateway.php on line 340

Notice: Undefined property: Workerman\Connection\UdpConnection::$session in /web/socket/GatewayWorker-master/GatewayWorker/Gateway.php on line 340
PHP Notice: Undefined index: flag in /web/socket/GatewayWorker-master/GatewayWorker/Protocols/GatewayProtocol.php on line 161

Notice: Undefined index: flag in /web/socket/GatewayWorker-master/GatewayWorker/Protocols/GatewayProtocol.php on line 161
PHP Notice: Undefined index: local_ip in /web/socket/GatewayWorker-master/GatewayWorker/Protocols/GatewayProtocol.php on line 165

Notice: Undefined index: local_ip in /web/socket/GatewayWorker-master/GatewayWorker/Protocols/GatewayProtocol.php on line 165
PHP Notice: Undefined index: local_port in /web/socket/GatewayWorker-master/GatewayWorker/Protocols/GatewayProtocol.php on line 166

Notice: Undefined index: local_port in /web/socket/GatewayWorker-master/GatewayWorker/Protocols/GatewayProtocol.php on line 166
PHP Notice: Undefined index: client_ip in /web/socket/GatewayWorker-master/GatewayWorker/Protocols/GatewayProtocol.php on line 166

Notice: Undefined index: client_ip in /web/socket/GatewayWorker-master/GatewayWorker/Protocols/GatewayProtocol.php on line 166
PHP Notice: Undefined index: client_port in /web/socket/GatewayWorker-master/GatewayWorker/Protocols/GatewayProtocol.php on line 167

Notice: Undefined index: client_port in /web/socket/GatewayWorker-master/GatewayWorker/Protocols/GatewayProtocol.php on line 167
PHP Notice: Undefined index: connection_id in /web/socket/GatewayWorker-master/GatewayWorker/Protocols/GatewayProtocol.php on line 167

Notice: Undefined index: connection_id in /web/socket/GatewayWorker-master/GatewayWorker/Protocols/GatewayProtocol.php on line 167
PHP Notice: Undefined index: gateway_port in /web/socket/GatewayWorker-master/GatewayWorker/Protocols/GatewayProtocol.php on line 168

Notice: Undefined index: gateway_port in /web/socket/GatewayWorker-master/GatewayWorker/Protocols/GatewayProtocol.php on line 168

3775 1 0
1个回答

latin

群主说过,GatewayWorker是TCP链接框架,不支持udp。
workerman支持udp。

  • codebs 2016-10-18

    用workerman 怎么和其他客户端通信

年代过于久远,无法发表回答
×
🔝