PHP - Manual: socket_sendmsg
2025-02-27
(PHP 5 >= 5.5.0, PHP 7, PHP 8)
socket_sendmsg — Send a message
socket
message
flags
Returns the number of bytes sent, 或者在失败时返回 false
.
官方地址:https://www.php.net/manual/en/function.socket-sendmsg.php