On Mon, Sep 28, 2009 at 7:15 AM, gary clark <[email protected]> wrote:

> Hello,
>
> I am sending a large amount of data to a twisted server. I want to know how
> the protocol class knows that no more data is to be received.
>
> I dont pass the length of the data in the packet, hence I'm looking for a
> termination field in the packet.Like </MESSAGE>.
>

I think this FAQ might help you:

http://twistedmatrix.com/trac/wiki/FrequentlyAskedQuestions#Whyisprotocol.dataReceivedcalledwithonlypartofthedataIcalledtransport.writewith

Let us know if that answers your question.
_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to