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
image2wbmp(3) - php
stream_filter_prepend(3) - php
stream_socket_enable_crypto(3) - php
stream_socket_recvfrom(3) - php
stream_socket_shutdown(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation