string getservbyport ( int $port , string $protocol )
用于获取与端口号对应的网络服务
Sr.No | 参数 & Description |
---|---|
1 |
port 它包含有关端口号的信息 |
2 |
protocol 它包含有关信息的协议信息 |
它将以字符串形式返回网络服务器,否则在错误条件下失败
链接:https://www.learnfk.comhttps://www.learnfk.com/php/php-function-getservbyport.html
来源:LearnFk无涯教程网
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)