Search Results
Parameters ¶ socket The server socket to accept a connection from. timeout Override the default socket accept timeout. Time should be given in seconds. By default, default_socket_timeout is used. peer_name Will be set to the name (address) of the client which connected, if included and available from the selected transport. Note: Can also be determined later using stream_socket_get_name ().
stream_socket_accept Supported Versions: PHP 5, PHP 7, PHP 8 Accept a connection on a socket created by stream_socket_server ()
Siehe auch stream_socket_server () - Create an Internet or Unix domain server socket stream_socket_get_name () - Retrieve the name of the local or remote sockets stream_set_blocking () - Set blocking/non-blocking mode on a stream stream_set_timeout () - Set timeout period on a stream fgets () - Liest eine Zeile von der Position des Dateizeigers fgetss () - Liest eine Zeile von der Position des ...
Parameters socket The server socket to accept a connection from. timeout Override the default socket accept timeout. Time should be given in seconds. By default, default_socket_timeout is used. peer_name Will be set to the name (address) of the client which connected, if included and available from the selected transport. Note: Can also be determined later using stream_socket_get_name ().
Accept a connection on a socket previously created by stream_socket_server (). If timeout is specified, the default socket accept timeout will be overridden with the time specified in seconds. The name (address) of the client which connected will be passed back in peername if included and available from the selected transport. peername can also be determined later using stream_socket_get_name ().
Execute stream_socket_accept Online. Info and examples on stream_socket_accept PHP Function from Streams - Other Basic Extensions
People also ask
What is stream_socket_accept?
What does stream_socket_get_name() do?
What does stream_socket_recvfrom() do?
What is a stream in Java?
PHP Stream Introduction Streams are the way of generalizing file, network, data compression, and other operations which share a common set of functions and uses. In its simplest definition, a stream is a resource object which exhibits streamable behavior.
