socket_accept — Accepts a connection on a socket

socket_addrinfo_bind — Create and bind to a socket from a given addrinfo

socket_addrinfo_connect — Create and connect to a socket from a given addrinfo

socket_addrinfo_explain — Get information about addrinfo

socket_addrinfo_lookup — Get array with contents of getaddrinfo about the given hostname

socket_bind — 给套接字绑定名字

socket_clear_error — 清除套接字或者最后的错误代码上的错误

socket_close — 关闭套接字资源

socket_cmsg_space — Calculate message buffer size

socket_connect — 开启一个套接字连接

socket_create_listen — Opens a socket on port to accept connections

socket_create_pair — Creates a pair of indistinguishable sockets and stores them in an array

socket_create — 创建一个套接字(通讯节点)

socket_export_stream — Export a socket extension resource into a stream that encapsulates a socket

socket_get_option — Gets socket options for the socket

socket_getopt — 别名 socket_get_option

socket_getpeername — Queries the remote side of the given socket which may either result in host/port or in a Unix filesystem path, dependent on its type

socket_getsockname — Queries the local side of the given socket which may either result in host/port or in a Unix filesystem path, dependent on its type

socket_import_stream — Import a stream

socket_last_error — Returns the last error on the socket

socket_listen — Listens for a connection on a socket

socket_read — Reads a maximum of length bytes from a socket

socket_recv — 从已连接的socket接收数据

socket_recvfrom — Receives data from a socket whether or not it is connection-oriented

socket_recvmsg — Read a message

socket_select — Runs the select() system call on the given arrays of sockets with a specified timeout

socket_send — Sends data to a connected socket

socket_sendmsg — Send a message

socket_sendto — Sends a message to a socket, whether it is connected or not

socket_set_block — Sets blocking mode on a socket resource

socket_set_nonblock — Sets nonblocking mode for file descriptor fd

socket_set_option — Sets socket options for the socket

socket_setopt — 别名 socket_set_option

socket_shutdown — Shuts down a socket for receiving, sending, or both

socket_strerror — Return a string describing a socket error

socket_write — Write to a socket

socket_wsaprotocol_info_export — Exports the WSAPROTOCOL_INFO Structure

socket_wsaprotocol_info_import — Imports a Socket from another Process

socket_wsaprotocol_info_release — Releases an exported WSAPROTOCOL_INFO Structure

php扩展sockets作用,PHP函数参考19-sockets扩展相关推荐

  1. Windows_API_函数 参考大全

    1. API之网络函数 WNetAddConnection 创建同一个网络资源的永久性连接 WNetAddConnection2 创建同一个网络资源的连接 WNetAddConnection3 创建同 ...

  2. VB 函数参考一(A-G)

    VB  函数参考一(A-G) Abs Activate Asc Atn CBool CByte CCur CDate CDbl CDec Change Chr CInt Click CLng Cos ...

  3. php手册数组函数,PHP - Manual手册 - 函数参考 - Array 数组函数 - array_diff计算数组的差集...

    PHP - Manual手册 - 函数参考 - Array 数组函数 - array_diff计算数组的差集 array_diff (PHP 4 >= 4.0.1, PHP 5) array_d ...

  4. mysql常用函数参考

    mysql常用函数参考 对于针对字符串位置的操作,第一个位置被标记为1. ASCII(str) 返回字符串str的最左面字符的ASCII代码值.如果str是空字符串,返回0.如果str是NULL,返回 ...

  5. 【ES6】对象、函数、数组的扩展

    对象的扩展 ES6允许直接写入变量和函数,作为对象的属性和方法.这时,属性名为变量名, 属性值为变量的值. let name = 'tom'; let age = 12; let obj = {nam ...

  6. sqlserver 只有函数和扩展存储过程才能从函数内部执行

    一个SQLServer的自定义函数中调用一个自定义的存储过程,执行此函数后发出如下提示:"只有函数和扩展存储过程才能从函数内部执行". 原因:函数只能使用简单的sql语句,逻辑控制 ...

  7. 兄弟连学python(06)装饰器:对类或者函数进行功能的扩展

    #第一步,基本函数 ''' def hulk(): print("酒逢知己饮,诗向会人吟!") #调用函数 hulk() #第二步 扩展函数功能(不能修改原函数) #用于扩展基本函 ...

  8. Linux C 函数参考(日期时间)

    Linux C 函数参考(日期时间) 1.1 概述 世界标准时间(Coordinated Universal Time,UTC),也就是大家所熟知的格林威治标准时间(Greenwich Mean Ti ...

  9. js Function对象扩展与延时执行函数实例代码

    网页特效 function对象扩展与延时执行函数实例代码 function.prototype.delay=function(this1,timeout){ this1=this1||null; ti ...

最新文章

  1. MySQL探秘(四):InnoDB的磁盘文件及落盘机制(持久性)
  2. HTC G7 金卡 制作
  3. MySQL innodb每行数据长度的限制
  4. docker 中用docker 启动应用访问docker中的mysql
  5. 不要用偏执毁掉一个产业
  6. 我要带徒弟学JAVA架构 ( 写架构,非用架构 )
  7. springMVC发送邮件
  8. 前端判断是否为空字符窜
  9. 力扣235. 二叉搜索树的最近公共祖先(JavaScript)
  10. 前端开发核心JavaScript要怎么学?给转行或是自学的朋友提些学习建议
  11. Request介绍及演示样例 PART1
  12. 一念心动,一生绵延——如何修复min pulse width?
  13. 超级素数幂--全国模拟(一)
  14. Unity GC垃圾回收
  15. 伯努利方程实验装置QY-HGYL23
  16. python调用so文件
  17. 砍价小程序怎么变成二维码(小程序码)
  18. 《机器学习实战:基于Scikit-Learn、Keras和TensorFlow第2版》-学习笔记(9):无监督学习技术
  19. ROS双臂定点抓取问题记录
  20. 前端程序媛浅总结的工作中能用到“软技能”

热门文章

  1. 如何快速搭建基于PostgreSQL的空间数据库(SDE)
  2. 骨传导运动耳机最新排行榜!榜首是个新品牌赞歌G02,运动耳机圈内公认排行榜
  3. 对WannaCry的深度分析
  4. 汇编语言Test指令
  5. 后量子 KEM 方案:Newhope
  6. COleVariant与常用基本数据类型之间的转换
  7. 路由器重温——PON接口配置管理
  8. [附源码]java毕业设计班级班费缴纳及使用情况管理
  9. 激光切管机可以运用到什么行业?
  10. Flink教程(13) Keyed State状态管理之ValueState的使用 温差报警