Gen. partnerAlgotech

PHP funkce stream_socket_accept()

|bool Returns a stream to the accepted socket connection or FALSE on failure.

|
11. září 2019

Dostupnost ve verzích: PHP 5.0

Accept a connection on a socket created by stream_socket_server

Parametry

Parametr Datový typ Výchozí hodnota Poznámka
$server_socket resource není Override the default socket accept timeout. Time should be given in seconds.
$timeout float null, Override the default socket accept timeout. Time should be given in seconds.
$peername string null Will be set to the name (address) of the client which connected, if included and available from the selected transport.

resource

|bool Returns a stream to the accepted socket connection or FALSE on failure.

Další zdroje

Oficiální dokumentace funkce stream-socket-accept

Načítání komentářů...

Zůstaňte v obraze

Přihlaste se k odběru našeho newsletteru a získejte nejnovější informace o kybernetické bezpečnosti přímo do vaší e-mailové schránky.

Vaše údaje jsou v bezpečí. Newsletter můžete kdykoliv odhlásit.