socket_sendmsg

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

socket_sendmsgSend a message

Description

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

Warning

This function is currently not documented; only its argument list is available.

Parameters

socket

message

flags

Return Values

Returns the number of bytes sent, or false on failure.

Changelog

VersionDescription
8.0.0socket is a Socket instance now; previously, it was a resource.

See Also

To Top