tcpip_status.m
来自「A very small 250-line library (written e」· M 代码 · 共 18 行
M
18 行
function status=tcpip_status(fid) % status=tcpip_status(fid) Return a status value for tcpip connection.%% Mainly usefull when you whant to detect that a connection is broken.% (return value 0)%% Possible status values:%% TCPIP_NOCONNECT 0 Not connected. Perhaps it has been broken. Close it!% TCPIP_SERVSOCKET 1 Server socket waiting for connections.% TCPIP_STDIO 5 Connected to file (not implemented)% TCPIP_CLIENT 10 Connected as client. Used tcpip_open.% TCPIP_SERVER 12 Connected as server Used tcpip_servopen or tcpip_listen status=tcpipmex(6,fid); return;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?