TIP: Click on subject to list as thread! ANSI
echo: bbs_carnival
to: DEON GEORGE
from: ROB SWINDELL
date: 2020-06-22 22:49:00
subject: Re: Question for telnet/B

  Re: Re: Question for telnet/BBS gurus.
  By: Deon George to Rob Swindell on Tue Jun 23 2020 01:13 pm

 >   Re: Re: Question for telnet/BBS gurus.
 >   By: Rob Swindell to Deon George on Mon Jun 22 2020 07:32 pm
 >
 >  RS> Telnet binary mode has to do with the translation of received CR/LF and
 >  RS> CR/NUL pairs to a single carriage-return character (0x0D) and nothing
 >  RS> to do with the Telnet IAC character (0xFF) which must always be escaped
 >  RS> and parsed correctly, always, binary mode or not.
 >
 > But isnt in telnet binary mode, 0xFF needs to be received twice consectively
 > before the other end should interpret what should follow?

No. Only an actual 0xFF data byte needs to be escaped (by sending an IAC). This
is true whether in binary mode or not.

 > I must admit I havent read the finer details of how things are parsed when
 > in it goes in this mode - but I assumed this mode assisted binary file
 > transfers that are likely to have those special control chars that would
 > normally be intepreted as IAC commands.

No, Telnet binary mode only affects the interpretation of the CR/LF and CR/NUL
byte pairs, which most definitely are likely to be contained in many/most file
transfers and thus need to have binary mode enabled to be received correctly
(e.g. for chksum/crc validation purposes, if nothing else).

                                            digital man

Synchronet "Real Fact" #100:
You can leave a voicemail for The TechDorks (Stephen and I) at 951-523-7535.
Norco, CA WX: 66.6øF, 82.0% humidity, 0 mph SE wind, 0.00 inches rain/24hrs
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.