<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.73">
<TITLE>TCP Packet Size Considerations</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Hi All,</FONT>
</P>

<P><FONT SIZE=2>I am translating a twisted UDP implementation to a TCP implementation and i have come across some unexpected errors related to the amount of data written to a TCP transport. When a large amount of data is written to a TCP connection (approx. 9KB) the connection is dropped and transmission is unsuccessful. Between about 4KB-9KB (approx.) the connection is not dropped but the transmission is incomplete as the unpickling raises a ValueError (insecure pickle string). Under 4KB transmission is faultless. Is this a known limitation? I was aware of the 8KB of UDP packets but assumed that there were no such limitations on TCP connections. Can someone please enlighten me?</FONT></P>

<P><FONT SIZE=2>Regards,</FONT>
</P>

<P><FONT SIZE=2>Grant McDonald</FONT>
</P>

<P><FONT SIZE=2>PS. these are very approximate sizes - if need be i can narrow them down some more.</FONT>
</P>

</BODY>
<!--[object_id=#infocomp.com#]--><P><FONT face=Arial color=#808080 size=1>Important notice: This message is intended for the individual(s) and entity(s) addressed. The information contained in this transmission and any attached, may be confidential and may also be the subject of legal privilege, public interest immunity or legal professional privilege. Any review, retransmission, dissemination or other use of, taking of any action in reliance upon this information by person or entities other than the recipient is prohibited and requires authorization from the sender. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person) you may not copy or deliver this message to anyone. In such cases you should destroy this message and kindly notify the sender by reply email. </FONT></P>
<P><FONT face=Arial color=#808080 size=1>WARNING: Although Infocomp has taken reasonable precautions so that no viruses&nbsp;are present in this e-mail, the company cannot accept responsibility for any loss or damage arising from the use of e-mail attachments.</FONT></P></HTML>