php / 8.1.5 / function.socket-sendmsg.html /

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

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

See Also

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.socket-sendmsg.php