[Twisted-Python] LineReceiver

Jarrod Roberson jarrod at vertigrated.com
Mon Feb 26 10:49:54 EST 2007


On 2/25/07, Lee Connell <lee.a.connell at gmail.com> wrote:
>
> Hello all,
>
>
>         for c in self.factory.clients:
>             c.transport.write(host + '\n')
>             if self == c:
>                 c.transport.write(self.getMOTD())   ### getMOTD just
> returns some string ###



the default line separator is "\r\n" you are just sending "\n"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20070226/4d2bfd65/attachment.htm 


More information about the Twisted-Python mailing list