Sockets
- Introduzione
- Installazione/Configurazione
- Costanti predefinite
- Esempi
- Socket Errors
- Socket Funzioni
- socket_accept — Accetta una connessione su un socket
- socket_bind — Bind di un nome ad un socket
- socket_clear_error — Azzera gli erorri di un socket, oppure l'ultimo codice d'errore
- socket_close — Chiude una risorsa di tipo socket
- socket_connect — Inizia una connessione su un socket
- socket_create_listen — Apre un socket per accettare connessioni su una porta
- socket_create_pair — Crea una coppia di socket non distinguibili e li memorizza in una matrice
- socket_create — Crea un socket (punto terminale di una comunicazione).
- socket_get_option — Ottiene le opzioni per un socket
- socket_getpeername — Interroga il lato remoto di un dato socket per ottenere o la combinazione host/porta od un percorso Unix, in base al tipo di socket
- socket_getsockname — Interroga il lato locale di un dato socket e restituisce o la combinazione host/porta oppure un percorso Unix in base al tipo di socket
- socket_import_stream — Import a stream
- socket_last_error — Restituisce l'ultimo errore su un socket.
- socket_listen — Attende una richiesta di connessione su un socket
- socket_read — Legge fino ad un massimo di byte predefiniti da un socket
- socket_recv — Riceve i dati da un socket collegato
- socket_recvfrom — Riceve i dati da un socket, che sia connesso o meno
- socket_select — Esegue la system call select() su un set di socket con un dato timeout
- socket_send — Invia i dati ad un socket collegato
- socket_sendto — Invia un messaggio ad un socket, a prescindere che sia connesso o meno
- socket_set_block — Sets blocking mode on a socket resource
- socket_set_nonblock — Attiva la modalità "nonblocking" per il descrittore di file fd
- socket_set_option — Valorizza le opzioni per un socket
- socket_shutdown — Chiude un socket in ricezione, in invio o in entrambi i sensi
- socket_strerror — Restituisce una stringa con la descrizione dell'errore.
- socket_write — Scrive su un socket.
There are no user contributed notes for this page.
