PHP 8.4.0 RC4 available for testing

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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top