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

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


How come the Echo server example shows a factory being used?

Chaz.

Jean-Paul Calderone wrote:
> On Wed, 14 Jun 2006 16:01:35 -0400, "Chaz." <eprparadocs at gmail.com> wrote:
>> I've written a simple protocol, factory and service and can't seem to
>> get it to work right. It is so simple that I can't seem to figure out
>> the problem.
>>
>> Here is the code:
> 
> UDP servers don't use factories, since there is no network-level
> connection for which to maintain state.  Instead, pass an instance
> of DatagramProtocol directly to listenUDP.
> 
> Jean-Paul
> 
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
> 





More information about the Twisted-Python mailing list