PHP funkce stream_socket_sendto()

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: possible values for flags
STREAM_OOB Process OOB (out-of-band) data.
$address string null The address specified when the socket stream was created will be used unless an alternate address is specified in address.

int

a result code, as an integer.

Další zdroje

Oficiální dokumentace funkce stream-socket-sendto

AI konzultace & implementace

Pomohu vám zavést AI do vašeho projektu– od analýzy a návrhu řešení až po nasazení do produkce. Ušetřete čas, zjednodušte procesy a získejte konkurenční výhodu.

Domluvit konzultaci
Konzultant: Jan Barášek
Potřebujete poradit s PHP?

Nabízím trénink vývojářů, konzultace, školení a analýzu návrhových vzorů. Osobně v Praze nebo online.

Napište mi

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.