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_get_contents(3) - php
stream_filter_prepend(3) - php
stream_set_blocking(3) - php
stream_socket_recvfrom(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch