Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

socket_wsaprotocol_info_export

Description

The socket_wsaprotocol_info_export of Sockets for PHP exports the WSAPROTOCOL_INFO Structure.

NOTE: Windows only

Syntax

socket_wsaprotocol_info_export(
    Socket $socket,
    int $process_id
): string|false

Parameters

socket

A Socket instance.

process_id

The ID of the process which will import the socket.

Return

Returns an identifier to be used for the import, or false on failure.

HomeMenu