php php_sockets,PHP: Sockets - Manual

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_clear_error — 清除套接字或者最后的错误代码上的错误

socket_cmsg_space — Calculate message buffer size

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 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_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

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
移植curl但是zlib无法使能,如何解决该问题 Host setup: arm-unknown-linux-gnueabihf Install prefix: /opt/rootfs/curl-7.79.0/curl-7.79.0/_install Compiler: arm-linux-gnueabihf-gcc CFLAGS: -Werror-implicit-function-declaration -O2 -Wno-system-headers -pthread CPPFLAGS: -isystem /opt/rootfs/openssl-1.1.1/openssl-1.1.1/_install/include LDFLAGS: -L/opt/rootfs/openssl-1.1.1/openssl-1.1.1/_install/lib LIBS: -lssl -lcrypto -ldl -lpthread curl version: 7.79.0 SSL: enabled (OpenSSL) SSH: no (--with-{libssh,libssh2}) zlib: no (--with-zlib) brotli: no (--with-brotli) zstd: no (--with-zstd) GSS-API: no (--with-gssapi) GSASL: no (libgsasl not found) TLS-SRP: enabled resolver: POSIX threaded IPv6: enabled Unix sockets: enabled IDN: no (--with-{libidn2,winidn}) Build libcurl: Shared=yes, Static=yes Built-in manual: enabled --libcurl option: enabled (--disable-libcurl-option) Verbose errors: enabled (--disable-verbose) Code coverage: disabled SSPI: no (--enable-sspi) ca cert bundle: no ca cert path: no ca fallback: no LDAP: no (--enable-ldap / --with-ldap-lib / --with-lber-lib) LDAPS: no (--enable-ldaps) RTSP: enabled RTMP: no (--with-librtmp) PSL: no (libpsl not found) Alt-svc: enabled (--disable-alt-svc) HSTS: enabled (--disable-hsts) HTTP1: enabled (internal) HTTP2: no (--with-nghttp2, --with-hyper) HTTP3: no (--with-ngtcp2, --with-quiche) ECH: no (--enable-ech) Protocols: DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP IMAPS MQTT POP3 POP3S RTSP SMB SMBS SMTP SMTPS TELNET TFTP Features: AsynchDNS HSTS HTTPS-proxy IPv6 Largefile NTLM NTLM_WB SSL TLS-SRP UnixSockets alt-svc
06-13

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值