code: def _two_byte_cmd(self, cmd):
          
          #print "got two byte cmd %d" % ord(cmd)
  
          if cmd == SB:
              ## Begin capturing a sub-negotiation string
              self.telnet_got_sb = True
              self.telnet_sb_buffer = ''
  
          elif cmd == SE:
              ## Stop capturing a sub-negotiation string
              self.telnet_got_sb = False
              self._sb_decoder()
  
          elif cmd == NOP:
              pass
  
          elif cmd == DATMK:
              pass
  
          elif cmd == IP:
              pass
  
          elif cmd == AO:
              pass
  
          elif cmd == AYT:
              pass
  
          elif cmd == EC:
              pass
  
          elif cmd == EL:
              pass
  
          elif cmd == GA:
              pass
  
          else:
              print "2BC: Should not be here."
  
          self.telnet_got_iac = False
          self.telnet_got_cmd = None
docs: Handle incoming Telnet commands that are two bytes long.