socket_sendmsg

(PHP 5 >= 5.5.0, PHP 7, PHP 8)

socket_sendmsgSend a message

說明

socket_sendmsg(Socket $socket, array $message, int $flags = 0): int|false

警告

本函數還未編寫文檔,僅有參數列表。

參數

socket

message

flags

返回值

Returns the number of bytes sent, 或者在失敗時返回 false.

更新日志

版本 說明
8.0.0 現(xiàn)在 socketSocket 實例, 之前是 resource

參見