在线文档教程
PHP
联网 | Networking

socket_sendmsg

socket_sendmsg

(PHP 5 >= 5.5.0, PHP 7)

socket_sendmsg — Send a message

Description

int socket_sendmsg ( resource $socket , array $message , int $flags )

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.

See Also

  • socket_recvmsg() - Read a message

  • socket_cmsg_space() - Calculate message buffer size

← socket_send

socket_sendto →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/function.socket-sendmsg.php