[Twisted-Python] Problem and clueless what it is....

Chaz. eprparadocs at gmail.com
Wed Jun 14 16:33:01 MDT 2006


I don't know; is protocol a TCP protocol? Here is the example:

class Echo(protocol.Protocol):

    def dataReceived(self, data):
        self.transport.write(data)

class EchoFactory(protocol.ServerFactory):

    protocol = Echo


Chaz.

Itamar Shtull-Trauring wrote:
> On Wed, 2006-06-14 at 16:33 -0400, Chaz. wrote:
>> How come the Echo server example shows a factory being used?
> 
> Doesn't that use TCP, rather than UDP?
> 
> 





More information about the Twisted-Python mailing list