Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: D Finnigan Newsgroups: comp.sys.apple2.programmer Subject: Re: telnetd for =?UTF-8?B?R05PPw==?= Date: Tue, 12 Jan 2016 18:56:20 -0000 (UTC) Organization: Mac GUI Lines: 37 Message-ID: References: <9a2e912d-963f-44bd-ba8a-5aa4e11ba25a@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 12 Jan 2016 18:56:20 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="ac9e0e4d7dd3957fb97803ee6801bab8"; logging-data="10800"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/3Vsy9NsZ4qbuOwJgq3YWY" User-Agent: Mac GUI Usenet In-Reply-To: Cancel-Lock: sha1:8pRpnSe8xY6x/9GWGvX1VN4gi78= Xref: csiph.com comp.sys.apple2.programmer:2110 Steven Hirsch wrote: > On 01/11/2016 01:41 PM, D Finnigan wrote: >> >> You're talking about the TCP push (PSH) flag, right? I believe the >> Uthernet >> II always sets this control bit in the TCP header. As far as I know, >> there's >> no way to set it when using the built-in TCP stack. Also no way to set >> the >> URGent pointer either, but that mechanism is practically deprecated. > > I'm actually referring to the TCP_NODELAY flag passed to setsockopt(), not > > anything that goes out on the wire. A more sophisticated network stack > (modern Linux system) probably doesn't need it. But, I do not know how > smart > the built-in stack in the Uthernet II is. There may be some equivalent > control you can turn to prevent things from being buffered longer than > you'd like. > > Wireshark will be valuable in terms of figuring out which direction is > being > heavily impacted. I'm betting on outgoing. > There's no such thing as socket options when using the Uthernet II's built-in stack. The only thing you get is a choice to disable the delayed ACK algorithm if you want. I checked Wireshark and indeed my recollection was correct: the Uthernet II sets the PSH flag and all outgoing data segments. -- ]DF$ The Marina IP stack for Apple II-- http://marina.a2hq.com/