Re: telnet SUPRESS-TELNET option...


Graham Campbell (gc@ewok.amd.bnl.gov)
Wed, 20 Jul 88 10:15:41 EDT


        From: thumper!karn@faline.bellcore.com (Phil R. Karn)
        Organization: Bell Communications Research, Inc
        Subject: Re: telnet SUPRESS-TELNET option...
        To: tcp-ip@sri-nic.arpa

        In my PC implementation, the Telnet receive code first scans a receive
        buffer for the IAC character using the memchr() C library routine. This
        is a fast binary search routine implemented in assembler; it is
                  ^^^^^^^^^^^^^
Nooo, binary search works on ordered lists, you don't sort the buffer first
do you? :-)
        analogous to the strchr() (aka index) routine for ascii strings.
         ...............
Graham



This archive was generated by hypermail 2.0b3 on Thu Mar 09 2000 - 14:42:51 GMT