From 2bf8858fe0002a0608137a96b7dfbd12ba93f7ca Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:30:02 +0200 Subject: [PATCH 01/27] Translate sockets book.xml (intro/preface) to Italian --- reference/sockets/book.xml | 67 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 reference/sockets/book.xml diff --git a/reference/sockets/book.xml b/reference/sockets/book.xml new file mode 100644 index 000000000..1d94389f2 --- /dev/null +++ b/reference/sockets/book.xml @@ -0,0 +1,67 @@ + + + + + + Sockets + + + + &reftitle.intro; + + L'estensione socket implementa un'interfaccia di basso livello alle + funzioni di comunicazione tramite socket, basata sui diffusi socket BSD, + offrendo la possibilità di operare sia come server sia come client. + + + Per un'interfaccia socket lato client più generica, vedi + stream_socket_client, + stream_socket_server, + fsockopen e + pfsockopen. + + + Quando si utilizzano queste funzioni, è importante ricordare che, sebbene + molte di esse abbiano nomi identici alle corrispondenti funzioni C, spesso + presentano dichiarazioni differenti. Assicurati di leggere le descrizioni + per evitare confusione. + + + Chi non ha familiarità con la programmazione dei socket può trovare molto + materiale utile nelle apposite pagine man di Unix, e in rete è disponibile + un'ampia documentazione tutorial sulla programmazione dei socket in C, gran + parte della quale può essere applicata, con lievi modifiche, alla + programmazione dei socket in PHP. La Unix Socket + FAQ può essere un buon punto di partenza. + + + + + &reference.sockets.setup; + &reference.sockets.constants; + &reference.sockets.examples; + &reference.sockets.errors; + &reference.sockets.reference; + &reference.sockets.socket; + &reference.sockets.addressinfo; + + From 5f04b857f808884bf8819b0ca3af3e49562d6171 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:30:02 +0200 Subject: [PATCH 02/27] Translate sockets setup.xml (resources section) to Italian --- reference/sockets/setup.xml | 49 +++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 reference/sockets/setup.xml diff --git a/reference/sockets/setup.xml b/reference/sockets/setup.xml new file mode 100644 index 000000000..16c0e8bf9 --- /dev/null +++ b/reference/sockets/setup.xml @@ -0,0 +1,49 @@ + + + + + &reftitle.setup; + + + &reference.sockets.configure; + + + +
+ &reftitle.resources; + + Prima di PHP 8.0.0, + socket_accept, socket_import_stream, + socket_addrinfo_connect, socket_addrinfo_bind, + socket_create_listen, socket_wsaprotocol_info_import e + socket_create restituivano risorse Socket. + + + Prima di PHP 8.0.0, + socket_addrinfo_lookup restituiva un array di risorse AddressInfo. + +
+ + +
+ + From 9b48fa29bb730999519b552ab6e3c89800848123 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:30:02 +0200 Subject: [PATCH 03/27] Translate sockets constants.xml (AF_* and SOCK_* families) to Italian --- reference/sockets/constants.xml | 3210 +++++++++++++++++++++++++++++++ 1 file changed, 3210 insertions(+) create mode 100644 reference/sockets/constants.xml diff --git a/reference/sockets/constants.xml b/reference/sockets/constants.xml new file mode 100644 index 000000000..b8a938264 --- /dev/null +++ b/reference/sockets/constants.xml @@ -0,0 +1,3210 @@ + + + + &reftitle.constants; + &extension.constants; + + + + AF_UNIX + (int) + + + + Famiglia di indirizzi socket dei percorsi del filesystem nel dominio Unix. + + + + + + AF_INET + (int) + + + + Famiglia di indirizzi socket di IPv4 nel dominio Internet. + + + + + + AF_INET6 + (int) + + + + Famiglia di indirizzi socket di IPv6 nel dominio Internet. Disponibile solo se compilato con il supporto a IPv6. + + + + + + AF_DIVERT + (int) + + + + Famiglia di indirizzi socket per l'interfaccia divert(4) + di FreeBSD, usata per ricevere i pacchetti deviati dal firewall. + Disponibile a partire da PHP 8.3.0 (solo FreeBSD). + + + + + + AF_PACKET + (int) + + + + Famiglia di indirizzi socket per i packet socket di basso livello, usata per + inviare e ricevere pacchetti grezzi a livello di driver di dispositivo (livello OSI 2). + Disponibile a partire da PHP 8.5.0 (solo Linux). + + + + + + SOCK_STREAM + (int) + + + + + + + + + + SOCK_DGRAM + (int) + + + + + + + + + + SOCK_RAW + (int) + + + + + + + + + + SOCK_SEQPACKET + (int) + + + + + + + + + + SOCK_RDM + (int) + + + + + + + + + + SOCK_CONN_DGRAM + (int) + + + + Imposta il socket su datagramma orientato alla connessione. + Disponibile a partire da PHP 8.4.0. (solo NetBSD) + + + + + + SOCK_DCCP + (int) + + + + Imposta il socket sul protocollo di controllo della congestione per datagrammi (DCCP). + Disponibile a partire da PHP 8.4.0. (solo NetBSD) + + + + + + SOCK_NONBLOCK + (int) + + + + Imposta il flag di stato della modalità "nonblocking" del socket. + Disponibile a partire da PHP 8.4.0. + + + + + + SOCK_CLOEXEC + (int) + + + + Imposta il flag di stato close-on-exec del socket. + Disponibile a partire da PHP 8.4.0. + + + + + + MSG_OOB + (int) + + + + + + + + + + MSG_WAITALL + (int) + + + + + + + + + + MSG_PEEK + (int) + + + + + + + + + + MSG_DONTROUTE + (int) + + + + + + + + + + MSG_EOR + (int) + + + + Not available on Windows platforms. + + + + + + MSG_EOF + (int) + + + + Not available on Windows platforms. + + + + + + MSG_ZEROCOPY + (int) + + + + Available as of PHP 8.2.0 + + + + + + SO_DEBUG + (int) + + + + + + + + + + SO_REUSEADDR + (int) + + + + + + + + + + SO_REUSEPORT + (int) + + + + This constant is only available on platforms that + support the SO_REUSEPORT socket option: this + includes Linux, macOS and *BSD, but does not include Windows. + + + + + + SO_KEEPALIVE + (int) + + + + + + + + + + SO_DONTROUTE + (int) + + + + + + + + + + SO_LINGER + (int) + + + + + + + + + + SO_BROADCAST + (int) + + + + + + + + + + SO_OOBINLINE + (int) + + + + + + + + + + SO_SNDBUF + (int) + + + + + + + + + + SO_RCVBUF + (int) + + + + + + + + + + SO_SNDLOWAT + (int) + + + + + + + + + + SO_RCVLOWAT + (int) + + + + + + + + + + SO_SNDTIMEO + (int) + + + + + + + + + + SO_RCVTIMEO + (int) + + + + + + + + + + SO_TYPE + (int) + + + + + + + + + + SO_ERROR + (int) + + + + + + + + + + SO_ZEROCOPY + (int) + + + + Available as of PHP 8.2.0 + + + + + + TCP_NODELAY + (int) + + + + Used to disable Nagle TCP algorithm. + + + + + + TCP_KEEPCNT + (int) + + + + Available as of PHP 8.2.0 + + + + + + TCP_KEEPIDLE + (int) + + + + Available as of PHP 8.2.0 + + + + + + TCP_KEEPINTVL + (int) + + + + Available as of PHP 8.2.0 + + + + + + TCP_KEEPALIVE + (int) + + + + Available as of PHP 8.2.0 + + + + + + TCP_NOTSENT_LOWAT + (int) + + + + Available as of PHP 8.2.0 + + + + + + SO_MARK + (int) + + + + Available as of PHP 8.1.0 + + + + + + SO_USER_COOKIE + (int) + + + + Available as of PHP 8.1.0 + + + + + + SO_RTABLE + (int) + + + + Available as of PHP 8.2.0 + + + + + + SO_ACCEPTFILTER + (int) + + + + Available as of PHP 8.1.0 + + + + + + SO_DONTTRUNC + (int) + + + + Available as of PHP 8.1.0 + + + + + + SO_WANTMORE + (int) + + + + Available as of PHP 8.1.0 + + + + + + SO_INCOMING_CPU + (int) + + + + Available as of PHP 8.2.0 + + + + + + SO_MEMINFO + (int) + + + + Available as of PHP 8.2.0 + + + + + + SO_BPF_EXTENSIONS + (int) + + + + Available as of PHP 8.2.0 + + + + + + SO_SETFIB + (int) + + + + Available as of PHP 8.2.0 + + + + + + SO_ATTACH_REUSEPORT_CBPF + (int) + + + + Available as of PHP 8.3.0 (Linux only) + + + + + + SO_DETACH_BPF + (int) + + + + Available as of PHP 8.3.0 (Linux only) + + + + + + SO_DETACH_FILTER + (int) + + + + Available as of PHP 8.3.0 (Linux only) + + + + + + SO_RERROR + (int) + + + + Available as of PHP 8.3.0 (NetBSD only) + + + + + + SO_ZEROIZE + (int) + + + + Available as of PHP 8.3.0 (OpenBSD only) + + + + + + SO_SPLICE + (int) + + + + Available as of PHP 8.3.0 (OpenBSD only) + + + + + + SO_REUSEPORT_LB + (int) + + + + Available as of PHP 8.3.0 (FreeBSD only) + + + + + + SOL_FILTER + (int) + + + + Available as of PHP 8.2.0 + + + + + + SOL_UDPLITE + (int) + + + + Available as of PHP 8.3.0 + + + + + + UDPLITE_RECV_CSCOV + (int) + + + + Available as of PHP 8.3.0 + + + + + + UDPLITE_SEND_CSCOV + (int) + + + + Available as of PHP 8.3.0 + + + + + + TCP_DEFER_ACCEPT + (int) + + + + Available as of PHP 8.1.0 + + + + + + TCP_CONGESTION + (int) + + + + Available as of PHP 8.2.0 + + + + + + TCP_QUICKACK + (int) + + + + Available as of PHP 8.3.0 (Linux only) + + + + + + TCP_REPAIR + (int) + + + + Available as of PHP 8.3.0 (Linux only) + + + + + + TCP_SYNCNT + (int) + + + + Set the number of SYN retransmits that TCP should send + before aborting the attempt to connect. + Available as of PHP 8.4.0 (Linux only) + + + + + + IP_DONTFRAG + (int) + + + + Available as of PHP 8.3.0 (FreeBSD only) + + + + + + IP_MTU_DISCOVER + (int) + + + + Available as of PHP 8.3.0 (Linux only) + + + + + + IP_PMTUDISC_DO + (int) + + + + Available as of PHP 8.3.0 (Linux only) + + + + + + IP_PMTUDISC_DONT + (int) + + + + Available as of PHP 8.3.0 (Linux only) + + + + + + IP_PMTUDISC_WANT + (int) + + + + Available as of PHP 8.3.0 (Linux only) + + + + + + IP_PMTUDISC_PROBE + (int) + + + + Available as of PHP 8.3.0 (Linux only) + + + + + + IP_PMTUDISC_INTERFACE + (int) + + + + Available as of PHP 8.3.0 (Linux only) + + + + + + IP_PMTUDISC_OMIT + (int) + + + + Available as of PHP 8.3.0 (Linux only) + + + + + + IP_BIND_ADDRESS_NO_PORT + (int) + + + + Available as of PHP 8.3.0 (Linux only) + + + + + + SOL_SOCKET + (int) + + + + + + + + + + PHP_NORMAL_READ + (int) + + + + + + + + + + PHP_BINARY_READ + (int) + + + + + + + + + + SOL_TCP + (int) + + + + + + + + + + SOL_UDP + (int) + + + + + + + + + + + The following constants are defined under Windows and UNIX-like platforms. + Each constant is only defined if their equal is available on the platform. + + + + + + SOCKET_EINTR + (int) + + + + Interrupted system call. + + + + + + SOCKET_EBADF + (int) + + + + Bad file descriptor number. + + + + + + SOCKET_EACCES + (int) + + + + Permission denied. + + + + + + SOCKET_EFAULT + (int) + + + + Bad address. + + + + + + SOCKET_EINVAL + (int) + + + + Invalid argument. + + + + + + SOCKET_EMFILE + (int) + + + + Too many open files. + + + + + + SOCKET_ENAMETOOLONG + (int) + + + + File name too long. + + + + + + SOCKET_ENOTEMPTY + (int) + + + + Directory not empty. + + + + + + SOCKET_ELOOP + (int) + + + + Too many symbolic links encountered. + + + + + + SOCKET_EWOULDBLOCK + (int) + + + + Operation would block. + + + + + + SOCKET_EREMOTE + (int) + + + + Object is remote. + + + + + + SOCKET_EUSERS + (int) + + + + Too many users. + + + + + + SOCKET_ENOTSOCK + (int) + + + + Socket operation on non-socket. + + + + + + SOCKET_EDESTADDRREQ + (int) + + + + Destination address required. + + + + + + SOCKET_EMSGSIZE + (int) + + + + Message too long. + + + + + + SOCKET_EPROTOTYPE + (int) + + + + Protocol wrong type for socket. + + + + + + SOCKET_EPROTONOSUPPORT + (int) + + + + Protocol not supported. + + + + + + SOCKET_ESOCKTNOSUPPORT + (int) + + + + Socket type not supported. + + + + + + SOCKET_EOPNOTSUPP + (int) + + + + Operation not supported on transport endpoint. + + + + + + SOCKET_EPFNOSUPPORT + (int) + + + + Protocol family not supported. + + + + + + SOCKET_EAFNOSUPPORT + (int) + + + + Address family not supported by protocol. + + + + + + SOCKET_EADDRNOTAVAIL + (int) + + + + Cannot assign requested address. + + + + + + SOCKET_ENETDOWN + (int) + + + + Network is down. + + + + + + SOCKET_ENETUNREACH + (int) + + + + Network is unreachable. + + + + + + SOCKET_ENETRESET + (int) + + + + Network dropped connection because of reset. + + + + + + SOCKET_ECONNABORTED + (int) + + + + Software caused connection abort. + + + + + + SOCKET_ECONNRESET + (int) + + + + Connection reset by peer. + + + + + + SOCKET_ENOBUFS + (int) + + + + No buffer space available. + + + + + + SOCKET_EISCONN + (int) + + + + Transport endpoint is already connected. + + + + + + SOCKET_ENOTCONN + (int) + + + + Transport endpoint is not connected. + + + + + + SOCKET_ESHUTDOWN + (int) + + + + Cannot send after transport endpoint shutdown. + + + + + + SOCKET_ETIMEDOUT + (int) + + + + Connection timed out. + + + + + + SOCKET_ECONNREFUSED + (int) + + + + Connection refused. + + + + + + SOCKET_EHOSTDOWN + (int) + + + + Host is down. + + + + + + SOCKET_EHOSTUNREACH + (int) + + + + No route to host. + + + + + + SOCKET_EALREADY + (int) + + + + Operation already in progress. + + + + + + SOCKET_EINPROGRESS + (int) + + + + Operation now in progress. + + + + + + + The following constants are only defined under Windows. + + + + + + + + + + + + + SOCKET_ENOPROTOOPT + (int) + + + + + + + + + + + + + + + SOCKET_EADDRINUSE + (int) + + + + + + + + + + + + + + + + + + + + SOCKET_ETOOMYREFS + (int) + + + + + + + + + + + + + + + + + SOCKET_EPROCLIM + (int) + + + + + + + + + + + SOCKET_EDUOT + (int) + + + + + + + + + + SOCKET_ESTALE + (int) + + + + + + + + + + + SOCKET_EDISCON + (int) + + + + + + + + + + SOCKET_SYSNOTREADY + (int) + + + + + + + + + + SOCKET_VERNOTSUPPORTED + (int) + + + + + + + + + + SOCKET_NOTINITIALISED + (int) + + + + + + + + + + SOCKET_HOST_NOT_FOUND + (int) + + + + + + + + + + SOCKET_TRY_AGAIN + (int) + + + + + + + + + + SOCKET_NO_RECOVERY + (int) + + + + + + + + + + SOCKET_NO_DATA + (int) + + + + + + + + + + SOCKET_NO_ADDRESS + (int) + + + + + + + + + + + The following constants are only available on UNIX-like + platforms. Each constant is only defined if their equal is + available on the platform. + + + + + + SOCKET_EPERM + (int) + + + + Operation not permitted. + + + + + + SOCKET_ENOENT + (int) + + + + No such file or directory. + + + + + + SOCKET_EIO + (int) + + + + I/O error. + + + + + + SOCKET_ENXIO + (int) + + + + No such device or address. + + + + + + SOCKET_E2BIG + (int) + + + + Arg list too long. + + + + + + SOCKET_EAGAIN + (int) + + + + Try again. + + + + + + SOCKET_ENOMEM + (int) + + + + Out of memory. + + + + + + SOCKET_ENOTBLK + (int) + + + + Block device required. + + + + + + SOCKET_EBUSY + (int) + + + + Device or resource busy. + + + + + + SOCKET_EEXIST + (int) + + + + File exists. + + + + + + SOCKET_EXDEV + (int) + + + + Cross-device link. + + + + + + SOCKET_ENODEV + (int) + + + + No such device. + + + + + + SOCKET_ENOTDIR + (int) + + + + Not a directory. + + + + + + SOCKET_EISDIR + (int) + + + + Is a directory. + + + + + + SOCKET_ENFILE + (int) + + + + File table overflow. + + + + + + SOCKET_ENOTTY + (int) + + + + Not a typewriter. + + + + + + SOCKET_ENOSPC + (int) + + + + No space left on device. + + + + + + SOCKET_ESPIPE + (int) + + + + Illegal seek. + + + + + + SOCKET_EROFS + (int) + + + + Read-only file system. + + + + + + SOCKET_EMLINK + (int) + + + + Too many links. + + + + + + SOCKET_EPIPE + (int) + + + + Broken pipe. + + + + + + + SOCKET_ENOLCK + (int) + + + + No record locks available. + + + + + + SOCKET_ENOSYS + (int) + + + + Function not implemented. + + + + + + + + + SOCKET_ENOMSG + (int) + + + + No message of desired type. + + + + + + SOCKET_EIDRM + (int) + + + + Identifier removed. + + + + + + SOCKET_ECHRNG + (int) + + + + Channel number out of range. + + + + + + SOCKET_EL2NSYNC + (int) + + + + Level 2 not synchronized. + + + + + + SOCKET_EL3HLT + (int) + + + + Level 3 halted. + + + + + + SOCKET_EL3RST + (int) + + + + Level 3 reset. + + + + + + SOCKET_ELNRNG + (int) + + + + Link number out of range. + + + + + + SOCKET_EUNATCH + (int) + + + + Protocol driver not attached. + + + + + + SOCKET_ENOCSI + (int) + + + + No CSI structure available. + + + + + + SOCKET_EL2HLT + (int) + + + + Level 2 halted. + + + + + + SOCKET_EBADE + (int) + + + + Invalid exchange. + + + + + + SOCKET_EBADR + (int) + + + + Invalid request descriptor. + + + + + + SOCKET_EXFULL + (int) + + + + Exchange full. + + + + + + SOCKET_ENOANO + (int) + + + + No anode. + + + + + + SOCKET_EBADRQC + (int) + + + + Invalid request code. + + + + + + SOCKET_EBADSLT + (int) + + + + Invalid slot. + + + + + + SOCKET_ENOSTR + (int) + + + + Device not a stream. + + + + + + SOCKET_ENODATA + (int) + + + + No data available. + + + + + + SOCKET_ETIME + (int) + + + + Timer expired. + + + + + + SOCKET_ENOSR + (int) + + + + Out of streams resources. + + + + + + SOCKET_ENONET + (int) + + + + Machine is not on the network. + + + + + + + SOCKET_ENOLINK + (int) + + + + Link has been severed. + + + + + + SOCKET_EADV + (int) + + + + Advertise error. + + + + + + SOCKET_ESRMNT + (int) + + + + Srmount error. + + + + + + SOCKET_ECOMM + (int) + + + + Communication error on send. + + + + + + SOCKET_EPROTO + (int) + + + + Protocol error. + + + + + + SOCKET_EMULTIHOP + (int) + + + + Multihop attempted. + + + + + + SOCKET_EBADMSG + (int) + + + + Not a data message. + + + + + + SOCKET_ENOTUNIQ + (int) + + + + Name not unique on network. + + + + + + SOCKET_EBADFD + (int) + + + + File descriptor in bad state. + + + + + + SOCKET_EREMCHG + (int) + + + + Remote address changed. + + + + + + SOCKET_ERESTART + (int) + + + + Interrupted system call should be restarted. + + + + + + SOCKET_ESTRPIPE + (int) + + + + Streams pipe error. + + + + + + + + + + + SOCKET_EPROTOOPT + (int) + + + + Protocol not available. + + + + + + + + + + + SOCKET_ADDRINUSE + (int) + + + + Address already in use. + + + + + + + + + + + + + + + + SOCKET_ETOOMANYREFS + (int) + + + + Too many references: cannot splice. + + + + + + + + + + + + SOCKET_EISNAM + (int) + + + + Is a named type file. + + + + + + SOCKET_EREMOTEIO + (int) + + + + Remote I/O error. + + + + + + SOCKET_EDQUOT + (int) + + + + Quota exceeded. + + + + + + SOCKET_ENOMEDIUM + (int) + + + + No medium found. + + + + + + SOCKET_EMEDIUMTYPE + (int) + + + + Wrong medium type. + + + + + + SCM_RIGHTS + (int) + + + + Send or receive a set of open file descriptors from another process. + + + + + + SCM_CREDENTIALS + (int) + + + + + + + + + + SCM_CREDS + (int) + + + + Available as of PHP 8.2.0 + + + + + + SCM_CREDS2 + (int) + + + + Available as of PHP 8.2.0 + + + + + + LOCAL_CREDS + (int) + + + + Available as of PHP 8.2.0 + + + + + + LOCAL_CREDS_PERSISTENT + (int) + + + + Available as of PHP 8.2.0 + + + + + + SKF_AD_OFF + (int) + + + + Available as of PHP 8.2.0 + + + + + + SKF_AD_PROTOCOL + (int) + + + + Available as of PHP 8.2.0 + + + + + + SKF_AD_PKTTYPE + (int) + + + + Available as of PHP 8.2.0 + + + + + + SKF_AD_IFINDEX + (int) + + + + Available as of PHP 8.2.0 + + + + + + SKF_AD_NLATTR + (int) + + + + Available as of PHP 8.2.0 + + + + + + SKF_AD_NLATTR_NEST + (int) + + + + Available as of PHP 8.2.0 + + + + + + SKF_AD_MARK + (int) + + + + Available as of PHP 8.2.0 + + + + + + SKF_AD_QUEUE + (int) + + + + Available as of PHP 8.2.0 + + + + + + SKF_AD_HATYPE + (int) + + + + Available as of PHP 8.2.0 + + + + + + SKF_AD_RXHASH + (int) + + + + Available as of PHP 8.2.0 + + + + + + SKF_AD_CPU + (int) + + + + Available as of PHP 8.2.0 + + + + + + SKF_AD_ALU_XOR_X + (int) + + + + Available as of PHP 8.2.0 + + + + + + SKF_AD_VLAN_TAG + (int) + + + + Available as of PHP 8.2.0 + + + + + + SKF_AD_VLAN_TAG_PRESENT + (int) + + + + Available as of PHP 8.2.0 + + + + + + SKF_AD_PAY_OFFSET + (int) + + + + Available as of PHP 8.2.0 + + + + + + SKF_AD_RANDOM + (int) + + + + Available as of PHP 8.2.0 + + + + + + SKF_AD_VLAN_TPID + (int) + + + + Available as of PHP 8.2.0 + + + + + + SKF_AD_MAX + (int) + + + + Available as of PHP 8.2.0 + + + + + + AI_ADDRCONFIG + (int) + + + + + + + + + AI_ALL + (int) + + + + + + + + + AI_CANONIDN + (int) + + + + + + + + + AI_CANONNAME + (int) + + + + + + + + + AI_IDN + (int) + + + + + + + + + AI_NUMERICHOST + (int) + + + + + + + + + AI_NUMERICSERV + (int) + + + + + + + + + AI_PASSIVE + (int) + + + + + + + + + AI_V4MAPPED + (int) + + + + + + + + + FIL_ATTACH + (int) + + + + + + + + + FIL_DETACH + (int) + + + + + + + + + IPPROTO_IP + (int) + + + + + + + + + IPPROTO_IPV6 + (int) + + + + + + + + + IPV6_HOPLIMIT + (int) + + + + + + + + + IPV6_MULTICAST_HOPS + (int) + + + + + + + + + IPV6_MULTICAST_IF + (int) + + + + + + + + + IPV6_MULTICAST_LOOP + (int) + + + + + + + + + IPV6_PKTINFO + (int) + + + + + + + + + IPV6_RECVHOPLIMIT + (int) + + + + + + + + + IPV6_RECVPKTINFO + (int) + + + + + + + + + IPV6_RECVTCLASS + (int) + + + + + + + + + IPV6_TCLASS + (int) + + + + + + + + + IPV6_UNICAST_HOPS + (int) + + + + + + + + + IPV6_V6ONLY + (int) + + + + + + + + + IP_MULTICAST_IF + (int) + + + + + + + + + IP_MULTICAST_LOOP + (int) + + + + + + + + + IP_MULTICAST_TTL + (int) + + + + + + + + + IP_PORTRANGE + (int) + + + + Set the port range used for selecting a local port number. + Available as of PHP 8.4.0. (FreeBSD/NetBSD/OpenBSD only) + + + + + + IP_PORTRANGE_DEFAULT + (int) + + + + Use the default range of port values. + Available as of PHP 8.4.0. (FreeBSD/NetBSD/OpenBSD only) + + + + + + IP_PORTRANGE_HIGH + (int) + + + + Use a high range of port values. + Available as of PHP 8.4.0. (FreeBSD/NetBSD/OpenBSD only) + + + + + + IP_PORTRANGE_LOW + (int) + + + + Use a low range of port values. + Available as of PHP 8.4.0. (FreeBSD/NetBSD/OpenBSD only) + + + + + + MCAST_BLOCK_SOURCE + (int) + + + + + + + + + MCAST_JOIN_GROUP + (int) + + + + + + + + + MCAST_JOIN_SOURCE_GROUP + (int) + + + + + + + + + MCAST_LEAVE_GROUP + (int) + + + + + + + + + MCAST_LEAVE_SOURCE_GROUP + (int) + + + + + + + + + MCAST_UNBLOCK_SOURCE + (int) + + + + + + + + + MSG_CMSG_CLOEXEC + (int) + + + + + + + + + MSG_CONFIRM + (int) + + + + + + + + + MSG_CTRUNC + (int) + + + + + + + + + MSG_DONTWAIT + (int) + + + + + + + + + MSG_ERRQUEUE + (int) + + + + + + + + + MSG_MORE + (int) + + + + + + + + + MSG_NOSIGNAL + (int) + + + + + + + + + MSG_TRUNC + (int) + + + + + + + + + MSG_WAITFORONE + (int) + + + + + + + + + SOL_LOCAL + (int) + + + + + + + + + SOMAXCONN + (int) + + + + + + + + + SO_BINDTODEVICE + (int) + + + + + + + + + SO_FAMILY + (int) + + + + + + + + + SO_LABEL + (int) + + + + + + + + + SO_LISTENQLEN + (int) + + + + + + + + + SO_LISTENQLIMIT + (int) + + + + + + + + + SO_PASSCRED + (int) + + + + + + + + + SO_PEERLABEL + (int) + + + + + + + + + SO_EXCLUSIVEADDRUSE + (int) + + + + Prevents other sockets from being forcibly bound to the same address and port. + Available as of PHP 8.4.0. (Windows only) + + + + + + SO_EXCLBIND + (int) + + + + Enable/disable exclusive binding of the socket. + Available as of PHP 8.4.0. (Solaris only) + + + + + + SO_NOSIGPIPE + (int) + + + + Controls generation of SIGPIPE for the socket. + Available as of PHP 8.4.0. (macOs and FreeBSD only) + + + + + + SO_LINGER_SEC + (int) + + + + Similar to SO_LINGER but lingering is in seconds + as opposed to time clicks on macOs. + Available as of PHP 8.4.0. (macOs only) + + + + + + SO_BINDTOIFINDEX + (int) + + + + Bind a socket to a specific network interface by its index. + Available as of PHP 8.4.0. + + + + + + + From 9c3b5c794b12d162b74aaffa67dc95529073c208 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:30:02 +0200 Subject: [PATCH 04/27] Translate sockets constants.xml (SO_* and SOL_* families) to Italian --- reference/sockets/constants.xml | 154 ++++++++++++++++---------------- 1 file changed, 77 insertions(+), 77 deletions(-) diff --git a/reference/sockets/constants.xml b/reference/sockets/constants.xml index b8a938264..886a0ae93 100644 --- a/reference/sockets/constants.xml +++ b/reference/sockets/constants.xml @@ -239,7 +239,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -272,9 +272,9 @@ - This constant is only available on platforms that - support the SO_REUSEPORT socket option: this - includes Linux, macOS and *BSD, but does not include Windows. + Questa costante è disponibile solo sulle piattaforme che + supportano l'opzione socket SO_REUSEPORT: questo + include Linux, macOS e *BSD, ma non Windows. @@ -428,7 +428,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -450,7 +450,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -461,7 +461,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -472,7 +472,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -483,7 +483,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -494,7 +494,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -505,7 +505,7 @@ - Available as of PHP 8.1.0 + Disponibile a partire da PHP 8.1.0 @@ -516,7 +516,7 @@ - Available as of PHP 8.1.0 + Disponibile a partire da PHP 8.1.0 @@ -527,7 +527,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -538,7 +538,7 @@ - Available as of PHP 8.1.0 + Disponibile a partire da PHP 8.1.0 @@ -549,7 +549,7 @@ - Available as of PHP 8.1.0 + Disponibile a partire da PHP 8.1.0 @@ -560,7 +560,7 @@ - Available as of PHP 8.1.0 + Disponibile a partire da PHP 8.1.0 @@ -571,7 +571,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -582,7 +582,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -593,7 +593,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -604,7 +604,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -615,7 +615,7 @@ - Available as of PHP 8.3.0 (Linux only) + Disponibile a partire da PHP 8.3.0 (solo Linux) @@ -626,7 +626,7 @@ - Available as of PHP 8.3.0 (Linux only) + Disponibile a partire da PHP 8.3.0 (solo Linux) @@ -637,7 +637,7 @@ - Available as of PHP 8.3.0 (Linux only) + Disponibile a partire da PHP 8.3.0 (solo Linux) @@ -648,7 +648,7 @@ - Available as of PHP 8.3.0 (NetBSD only) + Disponibile a partire da PHP 8.3.0 (solo NetBSD) @@ -659,7 +659,7 @@ - Available as of PHP 8.3.0 (OpenBSD only) + Disponibile a partire da PHP 8.3.0 (solo OpenBSD) @@ -670,7 +670,7 @@ - Available as of PHP 8.3.0 (OpenBSD only) + Disponibile a partire da PHP 8.3.0 (solo OpenBSD) @@ -681,7 +681,7 @@ - Available as of PHP 8.3.0 (FreeBSD only) + Disponibile a partire da PHP 8.3.0 (solo FreeBSD) @@ -692,7 +692,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -703,7 +703,7 @@ - Available as of PHP 8.3.0 + Disponibile a partire da PHP 8.3.0 @@ -714,7 +714,7 @@ - Available as of PHP 8.3.0 + Disponibile a partire da PHP 8.3.0 @@ -725,7 +725,7 @@ - Available as of PHP 8.3.0 + Disponibile a partire da PHP 8.3.0 @@ -736,7 +736,7 @@ - Available as of PHP 8.1.0 + Disponibile a partire da PHP 8.1.0 @@ -747,7 +747,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -758,7 +758,7 @@ - Available as of PHP 8.3.0 (Linux only) + Disponibile a partire da PHP 8.3.0 (solo Linux) @@ -769,7 +769,7 @@ - Available as of PHP 8.3.0 (Linux only) + Disponibile a partire da PHP 8.3.0 (solo Linux) @@ -793,7 +793,7 @@ - Available as of PHP 8.3.0 (FreeBSD only) + Disponibile a partire da PHP 8.3.0 (solo FreeBSD) @@ -804,7 +804,7 @@ - Available as of PHP 8.3.0 (Linux only) + Disponibile a partire da PHP 8.3.0 (solo Linux) @@ -815,7 +815,7 @@ - Available as of PHP 8.3.0 (Linux only) + Disponibile a partire da PHP 8.3.0 (solo Linux) @@ -826,7 +826,7 @@ - Available as of PHP 8.3.0 (Linux only) + Disponibile a partire da PHP 8.3.0 (solo Linux) @@ -837,7 +837,7 @@ - Available as of PHP 8.3.0 (Linux only) + Disponibile a partire da PHP 8.3.0 (solo Linux) @@ -848,7 +848,7 @@ - Available as of PHP 8.3.0 (Linux only) + Disponibile a partire da PHP 8.3.0 (solo Linux) @@ -859,7 +859,7 @@ - Available as of PHP 8.3.0 (Linux only) + Disponibile a partire da PHP 8.3.0 (solo Linux) @@ -870,7 +870,7 @@ - Available as of PHP 8.3.0 (Linux only) + Disponibile a partire da PHP 8.3.0 (solo Linux) @@ -881,7 +881,7 @@ - Available as of PHP 8.3.0 (Linux only) + Disponibile a partire da PHP 8.3.0 (solo Linux) @@ -2331,7 +2331,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2342,7 +2342,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2353,7 +2353,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2364,7 +2364,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2375,7 +2375,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2386,7 +2386,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2397,7 +2397,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2408,7 +2408,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2419,7 +2419,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2430,7 +2430,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2441,7 +2441,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2452,7 +2452,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2463,7 +2463,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2474,7 +2474,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2485,7 +2485,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2496,7 +2496,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2507,7 +2507,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2518,7 +2518,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2529,7 +2529,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2540,7 +2540,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2551,7 +2551,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -2562,7 +2562,7 @@ - Available as of PHP 8.2.0 + Disponibile a partire da PHP 8.2.0 @@ -3131,8 +3131,8 @@ - Prevents other sockets from being forcibly bound to the same address and port. - Available as of PHP 8.4.0. (Windows only) + Impedisce ad altri socket di eseguire forzatamente il bind sullo stesso indirizzo e porta. + Disponibile a partire da PHP 8.4.0. (solo Windows) @@ -3143,8 +3143,8 @@ - Enable/disable exclusive binding of the socket. - Available as of PHP 8.4.0. (Solaris only) + Abilita/disabilita il bind esclusivo del socket. + Disponibile a partire da PHP 8.4.0. (solo Solaris) @@ -3155,8 +3155,8 @@ - Controls generation of SIGPIPE for the socket. - Available as of PHP 8.4.0. (macOs and FreeBSD only) + Controlla la generazione di SIGPIPE per il socket. + Disponibile a partire da PHP 8.4.0. (solo macOS e FreeBSD) @@ -3167,9 +3167,9 @@ - Similar to SO_LINGER but lingering is in seconds - as opposed to time clicks on macOs. - Available as of PHP 8.4.0. (macOs only) + Simile a SO_LINGER ma l'attesa (lingering) è espressa in secondi + anziché in tick di tempo su macOS. + Disponibile a partire da PHP 8.4.0. (solo macOS) @@ -3180,8 +3180,8 @@ - Bind a socket to a specific network interface by its index. - Available as of PHP 8.4.0. + Esegue il bind di un socket su una specifica interfaccia di rete tramite il suo indice. + Disponibile a partire da PHP 8.4.0. From 5f414f72963787c585b1bbc14e4d73776ba3f40e Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:30:02 +0200 Subject: [PATCH 05/27] Translate sockets constants.xml (TCP_*, IP_*, IPV6_*, MCAST_* families) to Italian --- reference/sockets/constants.xml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/reference/sockets/constants.xml b/reference/sockets/constants.xml index 886a0ae93..6bc4fe6c3 100644 --- a/reference/sockets/constants.xml +++ b/reference/sockets/constants.xml @@ -439,7 +439,7 @@ - Used to disable Nagle TCP algorithm. + Usata per disabilitare l'algoritmo di Nagle del TCP. @@ -780,9 +780,9 @@ - Set the number of SYN retransmits that TCP should send - before aborting the attempt to connect. - Available as of PHP 8.4.0 (Linux only) + Imposta il numero di ritrasmissioni SYN che il TCP deve inviare + prima di interrompere il tentativo di connessione. + Disponibile a partire da PHP 8.4.0 (solo Linux) @@ -2843,8 +2843,8 @@ - Set the port range used for selecting a local port number. - Available as of PHP 8.4.0. (FreeBSD/NetBSD/OpenBSD only) + Imposta l'intervallo di porte usato per selezionare un numero di porta locale. + Disponibile a partire da PHP 8.4.0. (solo FreeBSD/NetBSD/OpenBSD) @@ -2855,8 +2855,8 @@ - Use the default range of port values. - Available as of PHP 8.4.0. (FreeBSD/NetBSD/OpenBSD only) + Usa l'intervallo predefinito di valori di porta. + Disponibile a partire da PHP 8.4.0. (solo FreeBSD/NetBSD/OpenBSD) @@ -2867,8 +2867,8 @@ - Use a high range of port values. - Available as of PHP 8.4.0. (FreeBSD/NetBSD/OpenBSD only) + Usa un intervallo alto di valori di porta. + Disponibile a partire da PHP 8.4.0. (solo FreeBSD/NetBSD/OpenBSD) @@ -2879,8 +2879,8 @@ - Use a low range of port values. - Available as of PHP 8.4.0. (FreeBSD/NetBSD/OpenBSD only) + Usa un intervallo basso di valori di porta. + Disponibile a partire da PHP 8.4.0. (solo FreeBSD/NetBSD/OpenBSD) From bd1dba16b9f0e0f612521ab6cdb6064aa6264350 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:30:02 +0200 Subject: [PATCH 06/27] Translate sockets constants.xml (MSG_*, AI_*, SCM_*, SKF_* families) to Italian --- reference/sockets/constants.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/sockets/constants.xml b/reference/sockets/constants.xml index 6bc4fe6c3..30db32cb9 100644 --- a/reference/sockets/constants.xml +++ b/reference/sockets/constants.xml @@ -217,7 +217,7 @@ - Not available on Windows platforms. + Non disponibile sulle piattaforme Windows. @@ -228,7 +228,7 @@ - Not available on Windows platforms. + Non disponibile sulle piattaforme Windows. @@ -2309,7 +2309,7 @@ - Send or receive a set of open file descriptors from another process. + Invia o riceve un insieme di descrittori di file aperti da un altro processo. From 31c1559acdffcdfbdb223fc9bf215f99c90f85a7 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:30:02 +0200 Subject: [PATCH 07/27] Translate sockets constants.xml (SOCKET_E* error codes and platform intro paragraphs) - complete --- reference/sockets/constants.xml | 213 ++++++++++++++++---------------- 1 file changed, 106 insertions(+), 107 deletions(-) diff --git a/reference/sockets/constants.xml b/reference/sockets/constants.xml index 30db32cb9..de0e8b847 100644 --- a/reference/sockets/constants.xml +++ b/reference/sockets/constants.xml @@ -943,8 +943,8 @@ - The following constants are defined under Windows and UNIX-like platforms. - Each constant is only defined if their equal is available on the platform. + Le seguenti costanti sono definite sia sotto Windows sia sulle piattaforme di tipo UNIX. + Ogni costante è definita solo se il suo equivalente è disponibile sulla piattaforma. @@ -955,7 +955,7 @@ - Interrupted system call. + Chiamata di sistema interrotta. @@ -966,7 +966,7 @@ - Bad file descriptor number. + Numero di descrittore di file non valido. @@ -977,7 +977,7 @@ - Permission denied. + Permesso negato. @@ -988,7 +988,7 @@ - Bad address. + Indirizzo non valido. @@ -999,7 +999,7 @@ - Invalid argument. + Argomento non valido. @@ -1010,7 +1010,7 @@ - Too many open files. + Troppi file aperti. @@ -1021,7 +1021,7 @@ - File name too long. + Nome del file troppo lungo. @@ -1032,7 +1032,7 @@ - Directory not empty. + Directory non vuota. @@ -1043,7 +1043,7 @@ - Too many symbolic links encountered. + Troppi collegamenti simbolici incontrati. @@ -1054,7 +1054,7 @@ - Operation would block. + L'operazione si bloccherebbe. @@ -1065,7 +1065,7 @@ - Object is remote. + L'oggetto è remoto. @@ -1076,7 +1076,7 @@ - Too many users. + Troppi utenti. @@ -1087,7 +1087,7 @@ - Socket operation on non-socket. + Operazione socket su un elemento che non è un socket. @@ -1098,7 +1098,7 @@ - Destination address required. + Indirizzo di destinazione richiesto. @@ -1109,7 +1109,7 @@ - Message too long. + Messaggio troppo lungo. @@ -1120,7 +1120,7 @@ - Protocol wrong type for socket. + Tipo di protocollo errato per il socket. @@ -1131,7 +1131,7 @@ - Protocol not supported. + Protocollo non supportato. @@ -1142,7 +1142,7 @@ - Socket type not supported. + Tipo di socket non supportato. @@ -1153,7 +1153,7 @@ - Operation not supported on transport endpoint. + Operazione non supportata sull'endpoint di trasporto. @@ -1164,7 +1164,7 @@ - Protocol family not supported. + Famiglia di protocolli non supportata. @@ -1175,7 +1175,7 @@ - Address family not supported by protocol. + Famiglia di indirizzi non supportata dal protocollo. @@ -1186,7 +1186,7 @@ - Cannot assign requested address. + Impossibile assegnare l'indirizzo richiesto. @@ -1197,7 +1197,7 @@ - Network is down. + La rete non è attiva. @@ -1208,7 +1208,7 @@ - Network is unreachable. + La rete non è raggiungibile. @@ -1219,7 +1219,7 @@ - Network dropped connection because of reset. + La rete ha interrotto la connessione a causa di un reset. @@ -1230,7 +1230,7 @@ - Software caused connection abort. + Il software ha causato l'interruzione della connessione. @@ -1241,7 +1241,7 @@ - Connection reset by peer. + Connessione azzerata dal peer. @@ -1252,7 +1252,7 @@ - No buffer space available. + Spazio di buffer non disponibile. @@ -1263,7 +1263,7 @@ - Transport endpoint is already connected. + L'endpoint di trasporto è già connesso. @@ -1274,7 +1274,7 @@ - Transport endpoint is not connected. + L'endpoint di trasporto non è connesso. @@ -1285,7 +1285,7 @@ - Cannot send after transport endpoint shutdown. + Impossibile inviare dopo la chiusura dell'endpoint di trasporto. @@ -1296,7 +1296,7 @@ - Connection timed out. + Connessione scaduta. @@ -1307,7 +1307,7 @@ - Connection refused. + Connessione rifiutata. @@ -1318,7 +1318,7 @@ - Host is down. + L'host non è attivo. @@ -1329,7 +1329,7 @@ - No route to host. + Nessuna rotta verso l'host. @@ -1340,7 +1340,7 @@ - Operation already in progress. + Operazione già in corso. @@ -1351,14 +1351,14 @@ - Operation now in progress. + Operazione ora in corso. - The following constants are only defined under Windows. + Le seguenti costanti sono definite solo sotto Windows. @@ -1561,9 +1561,8 @@ - The following constants are only available on UNIX-like - platforms. Each constant is only defined if their equal is - available on the platform. + Le seguenti costanti sono disponibili solo sulle piattaforme di tipo UNIX. + Ogni costante è definita solo se il suo equivalente è disponibile sulla piattaforma. @@ -1574,7 +1573,7 @@ - Operation not permitted. + Operazione non consentita. @@ -1585,7 +1584,7 @@ - No such file or directory. + File o directory inesistente. @@ -1596,7 +1595,7 @@ - I/O error. + Errore di I/O. @@ -1607,7 +1606,7 @@ - No such device or address. + Dispositivo o indirizzo inesistente. @@ -1618,7 +1617,7 @@ - Arg list too long. + Elenco di argomenti troppo lungo. @@ -1629,7 +1628,7 @@ - Try again. + Riprovare. @@ -1640,7 +1639,7 @@ - Out of memory. + Memoria esaurita. @@ -1651,7 +1650,7 @@ - Block device required. + Richiesto un dispositivo a blocchi. @@ -1662,7 +1661,7 @@ - Device or resource busy. + Dispositivo o risorsa occupata. @@ -1673,7 +1672,7 @@ - File exists. + Il file esiste già. @@ -1684,7 +1683,7 @@ - Cross-device link. + Collegamento tra dispositivi diversi. @@ -1695,7 +1694,7 @@ - No such device. + Dispositivo inesistente. @@ -1706,7 +1705,7 @@ - Not a directory. + Non è una directory. @@ -1717,7 +1716,7 @@ - Is a directory. + È una directory. @@ -1728,7 +1727,7 @@ - File table overflow. + Overflow della tabella dei file. @@ -1739,7 +1738,7 @@ - Not a typewriter. + Non è un terminale. @@ -1750,7 +1749,7 @@ - No space left on device. + Spazio esaurito sul dispositivo. @@ -1761,7 +1760,7 @@ - Illegal seek. + Operazione di seek non consentita. @@ -1772,7 +1771,7 @@ - Read-only file system. + File system di sola lettura. @@ -1783,7 +1782,7 @@ - Too many links. + Troppi collegamenti. @@ -1794,7 +1793,7 @@ - Broken pipe. + Pipe interrotta. @@ -1806,7 +1805,7 @@ - No record locks available. + Nessun blocco di record disponibile. @@ -1817,7 +1816,7 @@ - Function not implemented. + Funzione non implementata. @@ -1831,7 +1830,7 @@ - No message of desired type. + Nessun messaggio del tipo desiderato. @@ -1842,7 +1841,7 @@ - Identifier removed. + Identificatore rimosso. @@ -1853,7 +1852,7 @@ - Channel number out of range. + Numero di canale fuori intervallo. @@ -1864,7 +1863,7 @@ - Level 2 not synchronized. + Livello 2 non sincronizzato. @@ -1875,7 +1874,7 @@ - Level 3 halted. + Livello 3 arrestato. @@ -1886,7 +1885,7 @@ - Level 3 reset. + Livello 3 azzerato. @@ -1897,7 +1896,7 @@ - Link number out of range. + Numero di collegamento fuori intervallo. @@ -1908,7 +1907,7 @@ - Protocol driver not attached. + Driver di protocollo non collegato. @@ -1919,7 +1918,7 @@ - No CSI structure available. + Nessuna struttura CSI disponibile. @@ -1930,7 +1929,7 @@ - Level 2 halted. + Livello 2 arrestato. @@ -1941,7 +1940,7 @@ - Invalid exchange. + Scambio non valido. @@ -1952,7 +1951,7 @@ - Invalid request descriptor. + Descrittore di richiesta non valido. @@ -1963,7 +1962,7 @@ - Exchange full. + Scambio pieno. @@ -1974,7 +1973,7 @@ - No anode. + Nessun anode. @@ -1985,7 +1984,7 @@ - Invalid request code. + Codice di richiesta non valido. @@ -1996,7 +1995,7 @@ - Invalid slot. + Slot non valido. @@ -2007,7 +2006,7 @@ - Device not a stream. + Il dispositivo non è uno stream. @@ -2018,7 +2017,7 @@ - No data available. + Nessun dato disponibile. @@ -2029,7 +2028,7 @@ - Timer expired. + Timer scaduto. @@ -2040,7 +2039,7 @@ - Out of streams resources. + Risorse di stream esaurite. @@ -2051,7 +2050,7 @@ - Machine is not on the network. + La macchina non è in rete. @@ -2063,7 +2062,7 @@ - Link has been severed. + Il collegamento è stato interrotto. @@ -2074,7 +2073,7 @@ - Advertise error. + Errore di advertise. @@ -2085,7 +2084,7 @@ - Srmount error. + Errore di srmount. @@ -2096,7 +2095,7 @@ - Communication error on send. + Errore di comunicazione durante l'invio. @@ -2107,7 +2106,7 @@ - Protocol error. + Errore di protocollo. @@ -2118,7 +2117,7 @@ - Multihop attempted. + Tentativo di multihop. @@ -2129,7 +2128,7 @@ - Not a data message. + Non è un messaggio di dati. @@ -2140,7 +2139,7 @@ - Name not unique on network. + Nome non univoco in rete. @@ -2151,7 +2150,7 @@ - File descriptor in bad state. + Descrittore di file in uno stato non valido. @@ -2162,7 +2161,7 @@ - Remote address changed. + Indirizzo remoto cambiato. @@ -2173,7 +2172,7 @@ - Interrupted system call should be restarted. + La chiamata di sistema interrotta dovrebbe essere riavviata. @@ -2184,7 +2183,7 @@ - Streams pipe error. + Errore di pipe degli stream. @@ -2200,7 +2199,7 @@ - Protocol not available. + Protocollo non disponibile. @@ -2216,7 +2215,7 @@ - Address already in use. + Indirizzo già in uso. @@ -2237,7 +2236,7 @@ - Too many references: cannot splice. + Troppi riferimenti: impossibile eseguire lo splice. @@ -2254,7 +2253,7 @@ - Is a named type file. + È un file di tipo denominato. @@ -2265,7 +2264,7 @@ - Remote I/O error. + Errore di I/O remoto. @@ -2276,7 +2275,7 @@ - Quota exceeded. + Quota superata. @@ -2287,7 +2286,7 @@ - No medium found. + Nessun supporto trovato. @@ -2298,7 +2297,7 @@ - Wrong medium type. + Tipo di supporto errato. From 74fe688d9f1216bf55028855792b0ee85b96a1bf Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:30:02 +0200 Subject: [PATCH 08/27] Translate sockets examples.xml (TCP/IP server and client examples) to Italian --- reference/sockets/examples.xml | 164 +++++++++++++++++++++++++++++++++ 1 file changed, 164 insertions(+) create mode 100644 reference/sockets/examples.xml diff --git a/reference/sockets/examples.xml b/reference/sockets/examples.xml new file mode 100644 index 000000000..ddfe86e04 --- /dev/null +++ b/reference/sockets/examples.xml @@ -0,0 +1,164 @@ + + + + + &reftitle.examples; + + + Esempio di socket: semplice server TCP/IP + + Questo esempio mostra un semplice server "talkback". Modifica le + variabili address e port + per adattarle alla tua configurazione ed eseguilo. Puoi quindi + connetterti al server con un comando simile a: telnet 192.168.1.53 + 10000 (dove indirizzo e porta corrispondono alla tua + configurazione). Tutto ciò che digiti verrà quindi mostrato in output + sul lato server e rinviato a te. Per disconnetterti, digita 'quit'. + + + +]]> + + + + + + Esempio di socket: semplice client TCP/IP + + Questo esempio mostra un semplice client HTTP monouso. Si limita a + connettersi a una pagina, inviare una richiesta HEAD, mostrare la + risposta e terminare. + + +Connessione TCP/IP\n"; + +/* Ottiene la porta per il servizio WWW. */ +$service_port = getservbyname('www', 'tcp'); + +/* Ottiene l'indirizzo IP dell'host di destinazione. */ +$address = gethostbyname('www.example.com'); + +/* Crea un socket TCP/IP. */ +$socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); +if ($socket === false) { + echo "socket_create() fallita: motivo: " . socket_strerror(socket_last_error()) . "\n"; +} else { + echo "OK.\n"; +} + +echo "Tentativo di connessione a '$address' sulla porta '$service_port'..."; +$result = socket_connect($socket, $address, $service_port); +if ($result === false) { + echo "socket_connect() fallita.\nMotivo: ($result) " . socket_strerror(socket_last_error($socket)) . "\n"; +} else { + echo "OK.\n"; +} + +$in = "HEAD / HTTP/1.1\r\n"; +$in .= "Host: www.example.com\r\n"; +$in .= "Connection: Close\r\n\r\n"; +$out = ''; + +echo "Invio della richiesta HTTP HEAD..."; +socket_write($socket, $in, strlen($in)); +echo "OK.\n"; + +echo "Lettura della risposta:\n\n"; +while ($out = socket_read($socket, 2048)) { + echo $out; +} + +echo "Chiusura del socket..."; +socket_close($socket); +echo "OK.\n\n"; +?> +]]> + + + + + + From 58f550bdff184428a584ef8a085540fff373f2d7 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:30:02 +0200 Subject: [PATCH 09/27] Translate sockets socket.xml (Socket class page) to Italian --- reference/sockets/socket.xml | 57 ++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 reference/sockets/socket.xml diff --git a/reference/sockets/socket.xml b/reference/sockets/socket.xml new file mode 100644 index 000000000..de2bb53a1 --- /dev/null +++ b/reference/sockets/socket.xml @@ -0,0 +1,57 @@ + + + + + La classe Socket + Socket + + + + +
+ &reftitle.intro; + + Una classe completamente opaca che, a partire da PHP 8.0.0, sostituisce le risorse Socket. + +
+ + +
+ &reftitle.classsynopsis; + + + + + final + Socket + + + + +
+ +
+ + + +
+ From 2fa78d5b0df0a2195212ef829e35ffa92d5e3e79 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:30:02 +0200 Subject: [PATCH 10/27] Translate sockets addressinfo.xml (AddressInfo class page) to Italian --- reference/sockets/addressinfo.xml | 57 +++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 reference/sockets/addressinfo.xml diff --git a/reference/sockets/addressinfo.xml b/reference/sockets/addressinfo.xml new file mode 100644 index 000000000..b36146388 --- /dev/null +++ b/reference/sockets/addressinfo.xml @@ -0,0 +1,57 @@ + + + + + La classe AddressInfo + AddressInfo + + + + +
+ &reftitle.intro; + + Una classe completamente opaca che, a partire da PHP 8.0.0, sostituisce le risorse AddressInfo. + +
+ + +
+ &reftitle.classsynopsis; + + + + + final + AddressInfo + + + + +
+ +
+ + + +
+ From 7f6c0d236ddf6a3ecbc6c1ecc9d268e421ebb188 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:30:02 +0200 Subject: [PATCH 11/27] Translate sockets changelog entities (socket-param, address-param) to Italian --- language-snippets.ent | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/language-snippets.ent b/language-snippets.ent index 5e1fde41c..ce6c1cf16 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -1450,3 +1450,19 @@ La resource XMLWriter che è stata modificata. Questa risorsa deriv '> + + + 8.0.0 + + socket ora è un'istanza di Socket; + in precedenza era una resource. + + '> + + 8.0.0 + + address ora è un'istanza di AddressInfo; + in precedenza era una resource. + +'> + From 8c0d762e06e7e67973010fae5fead4e5ba9e4f59 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:30:03 +0200 Subject: [PATCH 12/27] Translate sockets socket_set_block function to Italian --- .../sockets/functions/socket-set-block.xml | 124 ++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 reference/sockets/functions/socket-set-block.xml diff --git a/reference/sockets/functions/socket-set-block.xml b/reference/sockets/functions/socket-set-block.xml new file mode 100644 index 000000000..a91a7ad13 --- /dev/null +++ b/reference/sockets/functions/socket-set-block.xml @@ -0,0 +1,124 @@ + + + + + socket_set_block + Imposta la modalità bloccante su un socket + + + + &reftitle.description; + + boolsocket_set_block + Socketsocket + + + La funzione socket_set_block rimuove il flag + O_NONBLOCK sul socket specificato dal parametro + socket. + + + Quando viene eseguita un'operazione (ad es. ricezione, invio, connessione, + accettazione, ...) su un socket bloccante, lo script metterà in pausa la + propria esecuzione finché non riceve un segnale o non è in grado di eseguire + l'operazione. + + + + + &reftitle.parameters; + + + + socket + + + Un'istanza di Socket creata con socket_create + o socket_accept. + + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + &sockets.changelog.socket-param; + + + + + + + &reftitle.examples; + + + Esempio di <function>socket_set_block</function> + + +]]> + + + Questo esempio crea un socket in ascolto su tutte le interfacce sulla porta 1223 + e imposta il socket in modalità O_BLOCK. + socket_accept rimarrà bloccata finché non ci sarà una + connessione da accettare. + + + + + + + &reftitle.seealso; + + + socket_set_nonblock + socket_set_option + + + + + + From a91480f84bffe6118d1a6a3654d6f9135aa33eae Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:30:03 +0200 Subject: [PATCH 13/27] Translate sockets socket_atmark function to Italian --- reference/sockets/functions/socket-atmark.xml | 129 ++++++++++++++++++ 1 file changed, 129 insertions(+) create mode 100644 reference/sockets/functions/socket-atmark.xml diff --git a/reference/sockets/functions/socket-atmark.xml b/reference/sockets/functions/socket-atmark.xml new file mode 100644 index 000000000..7a18594e9 --- /dev/null +++ b/reference/sockets/functions/socket-atmark.xml @@ -0,0 +1,129 @@ + + + + + socket_atmark + Determina se un socket si trova sulla marca fuori banda + + + + &reftitle.description; + + boolsocket_atmark + Socketsocket + + + Determina se socket si trova sulla marca fuori banda. + + + + + &reftitle.parameters; + + + + socket + + + Un'istanza di Socket creata con socket_create. + + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + + &reftitle.examples; + + + Uso di <function>socket_atmark</function> per verificare se il socket è pronto a leggere dati fuori banda. + + 0 ); +socket_close( $socketServer ); +socket_close( $socketClient ); +socket_close( $socket ); +?> +]]> + + &example.outputs; + + + + + + + + + &reftitle.seealso; + + + socket_connect + socket_create + + + + + + From 7ed3596991f4fbea63f703a6b867b0f28329b3e4 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:30:03 +0200 Subject: [PATCH 14/27] Translate sockets socket_atmark function to Italian --- reference/sockets/functions/socket-atmark.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/sockets/functions/socket-atmark.xml b/reference/sockets/functions/socket-atmark.xml index 7a18594e9..81810f4f7 100644 --- a/reference/sockets/functions/socket-atmark.xml +++ b/reference/sockets/functions/socket-atmark.xml @@ -3,7 +3,7 @@ socket_atmark - Determina se un socket si trova sulla marca fuori banda + Determina se un socket si trova in corrispondenza del contrassegno dei dati fuori banda @@ -13,7 +13,7 @@ Socketsocket - Determina se socket si trova sulla marca fuori banda. + Determina se socket si trova in corrispondenza del contrassegno dei dati fuori banda. From 9de8f67bd90c91becf7ab15ac8dd47b72edef43d Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:30:03 +0200 Subject: [PATCH 15/27] Translate sockets socket_addrinfo_bind function to Italian --- .../functions/socket-addrinfo-bind.xml | 99 +++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 reference/sockets/functions/socket-addrinfo-bind.xml diff --git a/reference/sockets/functions/socket-addrinfo-bind.xml b/reference/sockets/functions/socket-addrinfo-bind.xml new file mode 100644 index 000000000..2d416fb48 --- /dev/null +++ b/reference/sockets/functions/socket-addrinfo-bind.xml @@ -0,0 +1,99 @@ + + + + + socket_addrinfo_bind + Crea un socket a partire da un dato addrinfo ed esegue il bind + + + + &reftitle.description; + + Socketfalsesocket_addrinfo_bind + AddressInfoaddress + + + Crea un'istanza di Socket ed esegue il bind all'AddressInfo fornito. Il valore + restituito da questa funzione può essere usato con socket_listen. + + + + + + &reftitle.parameters; + + + address + + + Istanza di AddressInfo creata da socket_addrinfo_lookup. + + + + + + + + &reftitle.returnvalues; + + Restituisce un'istanza di Socket in caso di successo o &false; in caso di fallimento. + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.0.0 + + In caso di successo, questa funzione restituisce ora un'istanza di Socket; + in precedenza veniva restituito un resource. + + + &sockets.changelog.address-param; + + + + + + + &reftitle.seealso; + + + socket_addrinfo_connect + socket_addrinfo_explain + socket_addrinfo_lookup + socket_listen + + + + + + From 0b0e6cd4dc1c8b59356c992bfa221f1e9dcd8f13 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:30:03 +0200 Subject: [PATCH 16/27] Translate sockets socket_addrinfo_connect function to Italian --- .../functions/socket-addrinfo-connect.xml | 98 +++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 reference/sockets/functions/socket-addrinfo-connect.xml diff --git a/reference/sockets/functions/socket-addrinfo-connect.xml b/reference/sockets/functions/socket-addrinfo-connect.xml new file mode 100644 index 000000000..0032fac14 --- /dev/null +++ b/reference/sockets/functions/socket-addrinfo-connect.xml @@ -0,0 +1,98 @@ + + + + + socket_addrinfo_connect + Crea un socket a partire da un dato addrinfo e vi si connette + + + + &reftitle.description; + + Socketfalsesocket_addrinfo_connect + AddressInfoaddress + + + Crea un'istanza di Socket e la connette all'istanza di AddressInfo fornita. Il valore + restituito da questa funzione può essere usato con le altre funzioni socket. + + + + + + &reftitle.parameters; + + + address + + + Istanza di AddressInfo creata da socket_addrinfo_lookup. + + + + + + + + &reftitle.returnvalues; + + Restituisce un'istanza di Socket in caso di successo o &false; in caso di fallimento. + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.0.0 + + In caso di successo, questa funzione restituisce ora un'istanza di Socket; + in precedenza veniva restituito un resource. + + + &sockets.changelog.address-param; + + + + + + + &reftitle.seealso; + + + socket_addrinfo_bind + socket_addrinfo_explain + socket_addrinfo_lookup + + + + + + From 08fd1600733ac0e146c5839bf02080d16519e225 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:30:03 +0200 Subject: [PATCH 17/27] Translate sockets socket_addrinfo_explain function to Italian --- .../functions/socket-addrinfo-explain.xml | 91 +++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 reference/sockets/functions/socket-addrinfo-explain.xml diff --git a/reference/sockets/functions/socket-addrinfo-explain.xml b/reference/sockets/functions/socket-addrinfo-explain.xml new file mode 100644 index 000000000..c74a357db --- /dev/null +++ b/reference/sockets/functions/socket-addrinfo-explain.xml @@ -0,0 +1,91 @@ + + + + + socket_addrinfo_explain + Ottiene informazioni su addrinfo + + + + &reftitle.description; + + arraysocket_addrinfo_explain + AddressInfoaddress + + + socket_addrinfo_explain espone la struttura + addrinfo sottostante. + + + + + + &reftitle.parameters; + + + address + + + Istanza di AddressInfo creata da socket_addrinfo_lookup. + + + + + + + + &reftitle.returnvalues; + + Restituisce un array contenente i campi della struttura addrinfo. + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + &sockets.changelog.address-param; + + + + + + + &reftitle.seealso; + + + socket_addrinfo_bind + socket_addrinfo_connect + socket_addrinfo_lookup + + + + + + From bb22a27adaff3b939b07807a796dfd711a6e43c2 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:30:03 +0200 Subject: [PATCH 18/27] Translate sockets socket_addrinfo_lookup function to Italian --- .../functions/socket-addrinfo-lookup.xml | 134 ++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 reference/sockets/functions/socket-addrinfo-lookup.xml diff --git a/reference/sockets/functions/socket-addrinfo-lookup.xml b/reference/sockets/functions/socket-addrinfo-lookup.xml new file mode 100644 index 000000000..abe497b50 --- /dev/null +++ b/reference/sockets/functions/socket-addrinfo-lookup.xml @@ -0,0 +1,134 @@ + + + + + socket_addrinfo_lookup + Ottiene un array con il contenuto di getaddrinfo per l'hostname indicato + + + + &reftitle.description; + + arrayfalsesocket_addrinfo_lookup + stringhost + stringnullservice&null; + arrayhints[] + + + Ricerca i diversi modi in cui è possibile connettersi a host. L'array restituito contiene + un insieme di istanze di AddressInfo a cui è possibile eseguire il bind tramite socket_addrinfo_bind. + + + + + + &reftitle.parameters; + + + host + + + L'hostname da cercare. + + + + + service + + + Il servizio a cui connettersi. Se il servizio è una stringa numerica, indica la porta. + Altrimenti indica il nome di un servizio di rete, che viene mappato a una porta dal sistema operativo. + + + + + hints + + + Gli hint forniscono i criteri per la selezione degli indirizzi restituiti. È possibile specificare gli + hint definiti da getaddrinfo. + + + + + + + + &reftitle.returnvalues; + + Restituisce un array di istanze di AddressInfo utilizzabili con + la famiglia di funzioni socket_addrinfo_*. + In caso di fallimento, viene restituito &false;. + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.5.0 + + Ora lancia un TypeError se un qualsiasi valore + dell'array hints non può essere convertito in int, e può + lanciare un ValueError se uno di questi + valori va in overflow. + + + + 8.0.0 + + In caso di successo, questa funzione restituisce ora un array di istanze di AddressInfo; + in precedenza veniva restituito un array di resource. + + + + 8.0.0 + + service ora può essere null. + + + + + + + + + &reftitle.seealso; + + + socket_addrinfo_bind + socket_addrinfo_connect + socket_addrinfo_explain + + + + + + From c843389ef5c39d1e430d582f630a860021070266 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:30:03 +0200 Subject: [PATCH 19/27] Translate sockets socket_cmsg_space function to Italian --- .../sockets/functions/socket-cmsg-space.xml | 81 +++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 reference/sockets/functions/socket-cmsg-space.xml diff --git a/reference/sockets/functions/socket-cmsg-space.xml b/reference/sockets/functions/socket-cmsg-space.xml new file mode 100644 index 000000000..450e8723f --- /dev/null +++ b/reference/sockets/functions/socket-cmsg-space.xml @@ -0,0 +1,81 @@ + + + + + socket_cmsg_space + Calcola la dimensione del buffer del messaggio + + + &reftitle.description; + + intnullsocket_cmsg_space + intlevel + inttype + intnum0 + + + Calcola la dimensione del buffer che dovrebbe essere allocato per + ricevere i dati ausiliari. + + &warn.undocumented.func; + + + + &reftitle.parameters; + + + + level + + + + + + + type + + + + + + + + + + + &reftitle.returnvalues; + + + + + + &reftitle.seealso; + + + socket_recvmsg + socket_sendmsg + + + + + + From 37f5ea92ba22e94b865647a98dbd07da2b39e7b1 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:55:08 +0200 Subject: [PATCH 20/27] Translate sockets socket_export_stream function to Italian --- .../functions/socket-export-stream.xml | 80 +++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 reference/sockets/functions/socket-export-stream.xml diff --git a/reference/sockets/functions/socket-export-stream.xml b/reference/sockets/functions/socket-export-stream.xml new file mode 100644 index 000000000..1ad3de6e1 --- /dev/null +++ b/reference/sockets/functions/socket-export-stream.xml @@ -0,0 +1,80 @@ + + + + + socket_export_stream + Esporta un socket in uno stream che incapsula un socket + + + + &reftitle.description; + + resourcefalsesocket_export_stream + Socketsocket + + + + + + &warn.undocumented.func; + + + + + &reftitle.parameters; + + + socket + + + + + + + + + + + &reftitle.returnvalues; + + Restituisce una resource&return.falseforfailure;. + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + &sockets.changelog.socket-param; + + + + + + From c2f0c0bea5de67c91d1d6bc3af14cb400fb65b18 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 16:19:34 +0200 Subject: [PATCH 21/27] Fix sockets socket_export_stream: translate 'resource' to 'risorsa' in prose --- reference/sockets/functions/socket-export-stream.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/sockets/functions/socket-export-stream.xml b/reference/sockets/functions/socket-export-stream.xml index 1ad3de6e1..ce73e55d5 100644 --- a/reference/sockets/functions/socket-export-stream.xml +++ b/reference/sockets/functions/socket-export-stream.xml @@ -37,7 +37,7 @@ &reftitle.returnvalues; - Restituisce una resource&return.falseforfailure;. + Restituisce una risorsa&return.falseforfailure;. From 9f70973408c5459c695dbf276eb8ac8bd09b08c3 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 16:20:04 +0200 Subject: [PATCH 22/27] Translate sockets socket_import_stream function to Italian --- .../functions/socket-import-stream.xml | 112 ++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 reference/sockets/functions/socket-import-stream.xml diff --git a/reference/sockets/functions/socket-import-stream.xml b/reference/sockets/functions/socket-import-stream.xml new file mode 100644 index 000000000..80f34cf65 --- /dev/null +++ b/reference/sockets/functions/socket-import-stream.xml @@ -0,0 +1,112 @@ + + + + + socket_import_stream + Importa uno stream + + + + &reftitle.description; + + Socketfalsesocket_import_stream + resourcestream + + + Importa uno stream che incapsula un socket in una risorsa dell'estensione socket. + + + + + &reftitle.parameters; + + + + stream + + + La risorsa dello stream da importare. + + + + + + + + + &reftitle.returnvalues; + + Restituisce &false; in caso di fallimento. + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.0.0 + + In caso di successo, questa funzione restituisce ora un'istanza di Socket; + in precedenza veniva restituito un resource. + + + + + + + + + &reftitle.examples; + + + Esempio di <function>socket_import_stream</function> + + +]]> + + + + + + + &reftitle.seealso; + + + stream_socket_server + + + + + + From 203223568973348c80f88b91135d9cded847a552 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 21:52:12 +0200 Subject: [PATCH 23/27] Translate sockets socket_wsaprotocol_info_export function to Italian --- .../socket-wsaprotocol-info-export.xml | 102 ++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 reference/sockets/functions/socket-wsaprotocol-info-export.xml diff --git a/reference/sockets/functions/socket-wsaprotocol-info-export.xml b/reference/sockets/functions/socket-wsaprotocol-info-export.xml new file mode 100644 index 000000000..8a4d57941 --- /dev/null +++ b/reference/sockets/functions/socket-wsaprotocol-info-export.xml @@ -0,0 +1,102 @@ + + + + + socket_wsaprotocol_info_export + Esporta la struttura WSAPROTOCOL_INFO + + + + &reftitle.description; + + stringfalsesocket_wsaprotocol_info_export + Socketsocket + intprocess_id + + + Esporta la struttura WSAPROTOCOL_INFO nella memoria condivisa e restituisce + un identificatore da usare con socket_wsaprotocol_info_import. L'ID + esportato è valido solo per il process_id indicato. + + + + Questa funzione è disponibile solo su Windows. + + + + + + &reftitle.parameters; + + + socket + + + Un'istanza di Socket. + + + + + process_id + + + L'ID del processo che importerà il socket. + + + + + + + + &reftitle.returnvalues; + + Restituisce un identificatore da usare per l'importazione, &return.falseforfailure; + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + &sockets.changelog.socket-param; + + + + + + + &reftitle.seealso; + + socket_wsaprotocol_info_import + socket_wsaprotocol_info_release + + + + + From b8800439811154b6ac02e623586133493924ddf3 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 21:57:09 +0200 Subject: [PATCH 24/27] Translate sockets socket_wsaprotocol_info_import function to Italian --- .../socket-wsaprotocol-info-import.xml | 97 +++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 reference/sockets/functions/socket-wsaprotocol-info-import.xml diff --git a/reference/sockets/functions/socket-wsaprotocol-info-import.xml b/reference/sockets/functions/socket-wsaprotocol-info-import.xml new file mode 100644 index 000000000..f9e3fc351 --- /dev/null +++ b/reference/sockets/functions/socket-wsaprotocol-info-import.xml @@ -0,0 +1,97 @@ + + + + + socket_wsaprotocol_info_import + Importa un Socket da un altro processo + + + + &reftitle.description; + + Socketfalsesocket_wsaprotocol_info_import + stringinfo_id + + + Importa un socket precedentemente esportato da un altro processo. + + + + Questa funzione è disponibile solo su Windows. + + + + + + &reftitle.parameters; + + + info_id + + + L'ID che è stato restituito da una precedente chiamata a + socket_wsaprotocol_info_export. + + + + + + + + &reftitle.returnvalues; + + Restituisce un'istanza di Socket in caso di successo, &return.falseforfailure; + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.0.0 + + In caso di successo, questa funzione restituisce ora un'istanza di Socket; + in precedenza veniva restituito un resource. + + + + + + + + + &reftitle.seealso; + + socket_wsaprotocol_info_export + + + + + From 84cccf7280f5efb7bc17e205f1d208b0993303a5 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 22:01:25 +0200 Subject: [PATCH 25/27] Translate sockets socket_wsaprotocol_info_release function to Italian --- .../socket-wsaprotocol-info-release.xml | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 reference/sockets/functions/socket-wsaprotocol-info-release.xml diff --git a/reference/sockets/functions/socket-wsaprotocol-info-release.xml b/reference/sockets/functions/socket-wsaprotocol-info-release.xml new file mode 100644 index 000000000..89e2427d0 --- /dev/null +++ b/reference/sockets/functions/socket-wsaprotocol-info-release.xml @@ -0,0 +1,76 @@ + + + + + + socket_wsaprotocol_info_release + Rilascia una struttura WSAPROTOCOL_INFO esportata + + + + &reftitle.description; + + boolsocket_wsaprotocol_info_release + stringinfo_id + + + Rilascia la memoria condivisa corrispondente all'info_id indicato. + + + + Questa funzione è disponibile solo su Windows. + + + + + + &reftitle.parameters; + + + info_id + + + L'ID che è stato restituito da una precedente chiamata a + socket_wsaprotocol_info_export. + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + + &reftitle.seealso; + + socket_wsaprotocol_info_export + + + + + + From 39cfed367fb70c26b2d7071fee6cdaff66c9df53 Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 22:29:47 +0200 Subject: [PATCH 26/27] Translate sockets errors.xml (Socket Errors chapter) to Italian --- reference/sockets/errors.xml | 54 ++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 reference/sockets/errors.xml diff --git a/reference/sockets/errors.xml b/reference/sockets/errors.xml new file mode 100644 index 000000000..9c15599d6 --- /dev/null +++ b/reference/sockets/errors.xml @@ -0,0 +1,54 @@ + + + + Errori dei Socket + + L'estensione socket è stata scritta per fornire un'interfaccia utilizzabile ai + potenti socket BSD. È stata posta attenzione affinché le funzioni operino + allo stesso modo sulle implementazioni Win32 e Unix. Quasi tutte le funzioni + dei socket possono fallire in determinate condizioni e quindi emettere un + messaggio E_WARNING che descrive l'errore. A volte questo + non accade come desiderato dallo sviluppatore. Per esempio la funzione + socket_read può emettere improvvisamente un + messaggio E_WARNING perché la connessione si è interrotta + in modo imprevisto. È comune sopprimere l'avviso con + l'operatore @ e intercettare il codice di errore all'interno + dell'applicazione con la funzione socket_last_error. È + possibile richiamare la funzione socket_strerror con questo codice + di errore per ottenere una stringa che descrive l'errore. Per maggiori informazioni + si vedano le loro descrizioni. + + + + I messaggi E_WARNING generati dall'estensione + socket sono in inglese, sebbene il messaggio di errore ottenuto appaia + a seconda del locale corrente (LC_MESSAGES): + + + + + + + + From 2173c0cc6c78f45df72ae8104f916e1a643f3c9f Mon Sep 17 00:00:00 2001 From: vpinti <109848828+vpintidev@users.noreply.github.com> Date: Tue, 21 Jul 2026 22:40:29 +0200 Subject: [PATCH 27/27] Translate sockets reference.xml (functions index) to Italian --- reference/sockets/reference.xml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 reference/sockets/reference.xml diff --git a/reference/sockets/reference.xml b/reference/sockets/reference.xml new file mode 100644 index 000000000..5c7132762 --- /dev/null +++ b/reference/sockets/reference.xml @@ -0,0 +1,29 @@ + + + + &Functions; dei Socket + + &reference.sockets.entities.functions; + + + +