Home | History | Annotate | Download | only in Lib

Lines Matching refs:IAC

51 IAC  = chr(255) # "Interpret As Command"
205 self.iacseq = '' # Buffer for IAC sequence.
274 """Write a string to the socket, doubling any IAC characters.
280 if IAC in buffer:
281 buffer = buffer.replace(IAC, IAC+IAC)
411 Don't block unless in the midst of an IAC sequence.
425 Don't block unless in the midst of an IAC sequence.
439 unless in the midst of an IAC sequence.
478 the midst of an IAC sequence.
490 if c != IAC:
496 # 'IAC: IAC CMD [OPTION only for WILL/WONT/DO/DONT]'
502 if c == IAC:
520 self.msg('IAC %d not recognized' % ord(c))
526 self.msg('IAC %s %d',
531 self.sock.sendall(IAC + WONT + opt)
533 self.msg('IAC %s %d',
538 self.sock.sendall(IAC + DONT + opt)