Socket
public class Socket
Field Summary | |
---|---|
mixed |
Constructor Summary | |
---|---|
void | __construct(array config) 架构函数 |
Method Summary | |
---|---|
bool | save(array log) 调试输出接口 |
protected void | sendToClient($tabid tabid, $client_id client_id, $logs logs, $force_client_id force_client_id) 发送给指定客户端 |
protected void | check() |
protected void | getClientArg(mixed name) |
protected static bool | send(string host, string message, string address) |
public mixed $port = 1116
public void __construct(array config)
架构函数
public bool save(array log)
调试输出接口
protected void sendToClient($tabid tabid, $client_id client_id, $logs logs, $force_client_id force_client_id)
发送给指定客户端
protected void check()
protected void getClientArg(mixed name)
protected static bool send(string host, string message, string address)
github: https://github.com/luofei614/SocketLog