I use Twisted to implement the server. When I test it, the first line that it gets is always strange:
Starting Server... New connection from 192.168.1.140 192.168.1.140: ÿûÿû ÿûÿû'ÿýÿûÿý\NAME Blurr 192.168.1.140: \NAME Blurr
(for both inputs sent to \NAME Blurr .)
This is the code that prints the input:
def lineReceived(self, line): print "{0}: {1}".format(self.name, line)
I connect via Putty via Telnet to a remote host. Is it the telnet protocol that I skip, or what? When I use telnet Unix and connect locally, the first line is fine.
source share