Dostupnost ve verzích: PHP 5.0
Receives data from a socket, connected or not
| 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: 
 | ||||
| $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
Oficiální dokumentace funkce stream-socket-recvfrom
Jan Barášek Více o autorovi
Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.
Rád vám pomůžu:
Články a novinky nejen ze světa PHP a programování. Nenechte si ujít jediný článek.
Články píše Jan Barášek © 2009-2025 | Kontakt | Mapa webu
Status | Aktualizováno: ... | cs