update page now

socket_send

(PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)

socket_sendInvia i dati ad un socket collegato

Descrizione

socket_send(
    resource $socket,
    string $buf,
    int $len,
    int $flags
): int
Avviso

Questa funzione è SPERIMENTALE. Ovvero, il comportamento di questa funzione, il nome di questa funzione, in definitiva tutto ciò che è documentato qui può cambiare nei futuri rilasci del PHP senza preavviso. Siete avvisati, l'uso di questa funzione è a vostro rischio.

La funzione socket_send() invia len bytes nel socket indicato da socket dal buffer buf

I valori di flags può essere una qualsiasi combinazione OR dei seguenti:

valori possibili per flags
0x1 Tratta dati OOB (fuori banda)
0x2 Preleva il messaggio
0x4 Ignora il routing, usa l'interfaccia diretta
0x8 I dati comletano il record
0x100 I dati completano la transazione

Vedere anche socket_sendmsg() e socket_sendto().

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant