Re: Maximum for gets

Liste des GroupesRevenir à cl tcl 
Sujet : Re: Maximum for gets
De : vivid.tree7955 (at) *nospam* fastmail.com (Petro Kazmirchuk)
Groupes : comp.lang.tcl
Date : 28. Apr 2025, 20:48:32
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vuom2f$1obn$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 28/04/2025 21:32, saito wrote:
Is there a limit to the number of characters that gets can read at a time?
in principle, it is limited only by the max length of Tcl string (~2GB in Tcl 8.6), that's why when using it with sockets, it is recommended to combine gets with [chan pending] to protect against malicious or misbehaving peer, see https://wiki.tcl-lang.org/page/chan+pending

Date Sujet#  Auteur
28 Apr 25 * Maximum for gets3saito
28 Apr 25 `* Re: Maximum for gets2Petro Kazmirchuk
28 Apr 25  `- Re: Maximum for gets1saito

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal