<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head>
<meta http-equiv="cache-control" content="max-age=180,private" />
</head>
<card id="discuz_wml" title="CnPack Forum">
<p>#1 通讯协议中&quot;位元表&quot;的概念,作用,如何使用?<br /><small>各位老师,通讯协议中&quot;位元表&quot;是什么概念,有何作用??,具体如何使用?  <br />
此问题我在csdn delphibbs等都发过帖子,但至今无满意答复,希望cnpack的各位大师能给以指点<br />
<br />
比如client向server根据以下协议上送数据<br />
# name       size<br />
-------------------<br />
1.功能码      1<br />
2.位元        8<br />
3.数据1       4<br />
4.数据2       2<br />
...           x<br />
N.数据N       x<br />
<br />
如果位元是 1100....... ,则说明此交易中只上送了&quot;数据1&quot;和&quot; ..</small><br />
</p>
<p>#1 <a href="index.php?action=thread&amp;tid=3749&amp;start=0&amp;offset=497&amp;sid=1KobNb">&gt;&gt;Next Page</a><br />
<br />Forum:<a href="index.php?action=forum&amp;fid=28&amp;sid=1KobNb">技术板块灌水区 ...</a>
<br />Thread:<a href="index.php?action=thread&amp;tid=3749&amp;sid=1KobNb">通讯协议中&quot;位元 ...</a>
<br />Next Thread:<a href="index.php?action=thread&amp;tid=3548&amp;sid=1KobNb">Delphi 7的 Property  ...</a>
</p>
<p align="center"><br /><a href="index.php?sid=1KobNb">Home</a><br />
<a href="index.php?action=login&amp;sid=">Login</a><br /><br />
<small>Powered by Discuz!</small></p>
</card>
</wml>