PHP funkce stream_socket_sendto()
📅 11. 09. 2019
Obsah článku:
Dostupnost ve verzích: `PHP 5.0`
Sends a message to a socket, whether it is connected or not
Parametry
Parametr | Datový typ | Výchozí hodnota | Poznámka | ||
---|---|---|---|---|---|
$socket | resource | není | The socket to send data to. | ||
$data | string | není | The data to be sent. | ||
$flags | int | null, | The value of flags can be any combination of the following:
| ||
$address | string | null | The address specified when the socket stream was created will be used unless an alternate address is specified in address. |
Návratové hodnoty
int
a result code, as an integer.
Další zdroje
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:
Kontakt Spolupráce