[Nel] newbies about packet schema
jaleco
jaleco@svr1.gameone.com.tw
Thu, 8 Mar 2001 10:02:46 +0800
This is a multi-part message in MIME format.
------=_NextPart_000_000A_01C0A7B6.ECAB2720
Content-Type: text/plain;
charset="big5"
Content-Transfer-Encoding: quoted-printable
>I am not familiar with the snowball protocol ("packet schema").
>However, I assure you that the article is correct --- attempting
>to turn TCP from a byte stream into a sequenced message stream by
>disabling Nagle will not work. The only way to implement message
>semantics on top of TCP is to add your own packetization to the
>byte stream. For example,
thanks .
but snowball seem have no any packet schema , just disable Nagle .
snowball assume send 50 byte , it will receive 50 byte once.
if send 50 byte , the recevie 25 byte twice,if it happen,snow ball is =
die.
does it will happen in real world ( send n byte, recive total n byte by =
more than one recive ) ?
------=_NextPart_000_000A_01C0A7B6.ECAB2720
Content-Type: text/html;
charset="big5"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2><FONT size=3D3>>I am not familiar with the =
snowball protocol=20
("packet schema").<BR>>However, I assure you that the article is =
correct ---=20
attempting<BR>>to turn TCP from a byte stream into a sequenced =
message stream=20
by<BR>>disabling Nagle will not work. The only way to implement =
message<BR>>semantics on top of TCP is to add your own packetization =
to=20
the<BR>>byte stream. For example,</FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT size=3D3></FONT></FONT> </DIV>
<DIV><FONT size=3D2><FONT size=3D3>thanks .</FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT size=3D3>but snowball seem have no =
any packet=20
schema , just disable Nagle .</FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT size=3D3>snowball assume send 50 byte , it =
will receive 50=20
byte once.</FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT size=3D3>if send 50 byte , the recevie 25 byte =
twice,if it=20
happen,snow ball is die.</FONT></FONT></DIV>
<DIV>does it will happen in real world ( send n byte, recive total n =
byte by=20
more than one recive ) ?</DIV>
<DIV><FONT size=3D2><FONT size=3D3></FONT> </DIV>
<DIV><BR></DIV></FONT></BODY></HTML>
------=_NextPart_000_000A_01C0A7B6.ECAB2720--