<div class="gmail_quote">On Thu, Apr 28, 2011 at 8:39 PM, gary clark <span dir="ltr">&lt;<a href="mailto:burslem2001@yahoo.com">burslem2001@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
It fails by writing a large string at the server side and not receiving any data at the client. The client uses open-ssl and is blocking to receive data. I dont know if its possible to determine if the write was successful or not on the server side i.e knowing how many bytes were written etc. I dont see any exceptions. The connection is still maintained and like I said its intermittent. So when a transport.write occurs is there an api I can use to see if it was successful?<br>
</blockquote><div><br></div><div>Are you using threads on the server side?  If so, are you using callFromThread?</div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://pythonquirks.blogspot.com/2011/01/twisted-callwhenrunning-callfromthread.html">http://pythonquirks.blogspot.com/2011/01/twisted-callwhenrunning-callfromthread.html</a></div>
<div><br></div><div>Can you create a SSCCE (<a href="http://sscce.org/">http://sscce.org/</a>) and show it to us?</div><div><br></div><div>Jason</div><div><br></div></div>-- <br>Jason Rennie<br>Research Scientist, ITA Software<br>
617-714-2645<br><a href="http://www.itasoftware.com/">http://www.itasoftware.com/</a><br><br>