Home | History | Annotate | Download | only in Lib

Lines Matching refs:IAC

50 IAC  = bytes([255]) # "Interpret As Command"
213 self.iacseq = b'' # Buffer for IAC sequence.
281 """Write a string to the socket, doubling any IAC characters.
287 if IAC in buffer:
288 buffer = buffer.replace(IAC, IAC+IAC)
359 Don't block unless in the midst of an IAC sequence.
373 Don't block unless in the midst of an IAC sequence.
387 unless in the midst of an IAC sequence.
426 the midst of an IAC sequence.
438 if c != IAC:
444 # 'IAC: IAC CMD [OPTION only for WILL/WONT/DO/DONT]'
450 if c == IAC:
468 self.msg('IAC %d not recognized' % ord(c))
474 self.msg('IAC %s %d',
479 self.sock.sendall(IAC + WONT + opt)
481 self.msg('IAC %s %d',
486 self.sock.sendall(IAC + DONT + opt)