Gen. partnerAlgotech

PHP funkce stream_socket_recvfrom()

Receives data from a socket, connected or not

|
11. září 2019

Dostupnost ve verzích: PHP 5.0

Receives data from a socket, connected or not

Parametry

Parametr Datový typ Výchozí hodnota Poznámka
$socket resource není The remote socket.
$length int není The number of bytes to receive from the socket.
$flags int null, The value of flags can be any combination of the following: Possible values for flags
STREAM_OOB Process OOB (out-of-band) data.
STREAM_PEEK Retrieve data from the socket, but do not consume the buffer. Subsequent calls to fread or stream_socket_recvfrom will see the same data.
$address string null If address is provided it will be populated with the address of the remote socket.

string

the read data, as a string

Další zdroje

Oficiální dokumentace funkce stream-socket-recvfrom

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.