socket_sendmsg

PHP 5 >= 5.5.0, PHP 7, PHP 8
socket_sendmsg - Send a message
Manual

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.

Related Functions