日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程语言 > php >内容正文

php

php sorcket_PHP: Sockets - Manual

發(fā)布時間:2023/12/4 php 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 php sorcket_PHP: Sockets - Manual 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

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 — 創(chuàng)建一個套接字(通訊節(jié)點(diǎn))

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_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接收數(shù)據(jù)

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

總結(jié)

以上是生活随笔為你收集整理的php sorcket_PHP: Sockets - Manual的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。