socket_create
brefphp/bref
Supported Versions: PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8
Create a socket (endpoint for communication)
socket_create
(
int $domain
,
int $type
,
int $protocol
):
Socket
|
false
$message
=
"Invocations_100:1|c\nLayer_
{
$this
->
layer
}
_100:1|c"
;
$sock
=
socket_create
(
AF_INET
,
SOCK_DGRAM
,
SOL_UDP
);
src/Runtime/LambdaRuntime.php