php man page for socket_import_stream

Query: socket_import_stream

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SOCKET_IMPORT_STREAM(3) 						 1						   SOCKET_IMPORT_STREAM(3)

socket_import_stream - Import a stream

SYNOPSIS
resource socket_import_stream (resource $stream)
DESCRIPTION
Imports a stream that encapsulates a socket into a socket extension resource.
PARAMETERS
o $stream - The stream resource to import.
RETURN VALUES
Returns FALSE or NULL on failure.
EXAMPLES
Example #1 socket_import_stream(3) example <?php $stream = stream_socket_server("udp://0.0.0.0:58380", $errno, $errstr, STREAM_SERVER_BIND); $sock = socket_import_stream($stream); ?>
SEE ALSO
stream_socket_server(3). PHP Documentation Group SOCKET_IMPORT_STREAM(3)
Related Man Pages
stream_set_timeout(3) - php
stream_socket_sendto(3) - php
stream_get_contents(3) - php
stream_socket_client(3) - php
stream_socket_server(3) - php
Similar Topics in the Unix Linux Community
Rules for Homework &amp; Coursework Questions Forum
UNIX.COM 2017 Year End Summary
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Denial Of Service Attack Update