Hi all,<div>I have a problem with sending the messages after handshake</div><div><br></div><div>Handshaking works properly and has been tested, also the peer does the handshake as well. </div><div>The problem is, when I send the request message ( <span class="mw-headline" id="request:_.3Clen.3D0013.3E.3Cid.3D6.3E.3Cindex.3E.3Cbegin.3E.3Clength.3E" style="font-family: sans-serif; line-height: 19px; background-color: rgb(255, 255, 255); ">request: &lt;len=0013&gt;&lt;id=6&gt;&lt;index&gt;&lt;begin&gt;&lt;length&gt; </span><span class="Apple-style-span" style="background-color: rgb(255, 255, 255); ">) </span><span class="Apple-style-span" style="background-color: rgb(255, 255, 255); ">the receive would be an error which is </span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 255); "><br></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 255); ">( in binary -- </span>&lt;&lt;0,0,0,138,5,255,186,255,255,255,255,255,255,255,</div>
<div>                             255,255,255,255,255,255,255,255,255,255,255,255,</div><div>                             255,255,255,255,255,255,255,255,255,255,255,255,</div><div>                             255,255,255,255,255,255,255,255,255,255,255,255,</div>
<div>                             255,255,255,255,255,255,255,255,255,255,255,255,</div><div>                             255,255,255,255,255,255,255,255,255,255,255,255,</div><div>                             255,255,255,255,255,255,255,255,255,255,255,255,</div>
<div>                             255,255,255,255,255,255,255,255,255,255,255,255,</div><div>                             255,255,255,255,255,255,255,255,255,255,255,255,</div><div>                             255,255,255,255,255,255,255,255,255,255,255,255,</div>
<div>                             255,255,255,255,255,255,255,255,255,255,255,255,</div><div>                             255,255,255,255,255,255,255,128,0,0,0,5,4,0,0,0,</div><div>                             13,0,0,0,5,4,0,0,0,9,0,0,0,5,4,0,0,0,15,0,0,0,1,1&gt;&gt;<span class="Apple-style-span" style="background-color: rgb(255, 255, 255); "> ) </span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 255); "><br></span></div><div>Should I send the bitfield message at first even I have no peace to share? </div><div><br></div><div>Regrads,</div><div>
<br></div>