Hi,
  I have a simple protocol listening on a port. I send it a text message
(a filename)
and the protocol tries to stream back the bytes of the file. Mostly,
this works
but in some cases, the receiving side receives less bytes than is
written by:

self.transport.write(bytes)

I read the API which says it can receive less than expected bytes or
messages. Why?

So how can I reliably send a sequences of bytes via "dataReceived" in my
protocol?

Thanks for any help!
Darren
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to