kendo
驱动牛犊
驱动牛犊
  • 注册日期2004-12-23
  • 最后登录2005-06-28
  • 粉丝0
  • 关注0
  • 积分13分
  • 威望3点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1028回复:1

E 文不好,大哭,请教一下大家?

楼主#
更多 发布于:2004-12-23 11:17
偶不太明白ProtocolReceive中各个参数的意思,找到资料:
 * IN MacReceiveContext       - Specifies a context handle that the underlying NIC driver associates with the packet received from the network.
 * IN HeaderBuffer            - Points to the base virtual address of a range containing the buffered packet header.
 * IN HeaderBufferSize        - Specifies the number of bytes in the packet header.
 * IN LookAheadBuffer         - Points to the base virtual address of a range that contains LookaheadBufferSize bytes of buffered network packet data.
 * IN LookAheadBufferSize     - Specifies the number of bytes of network packet data in the lookahead buffer.
 * IN PacketSize              - Specifies the size, in bytes, of the network packet data. The length of the packet does not include the length of the header.

不过偶e文差劲,不是太明白,想请教一下大家??? :P

最新喜欢:

WY.lslrtWY.lsl...
生活就像强奸,不管你愿不愿意都得接受。
baobaook
驱动牛犊
驱动牛犊
  • 注册日期2004-10-28
  • 最后登录2005-09-27
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2004-12-30 15:23
IN MacReceiveContext - Specifies a context handle that the underlying NIC driver associates with the packet received from the network.
确定与接收包有关的网卡驱动的上下文句柄。
* IN HeaderBuffer - Points to the base virtual address of a range containing the buffered packet header.
指向一系列包含缓冲的包头基本虚地址(MAC祯头部)
* IN HeaderBufferSize - Specifies the number of bytes in the packet header.
确定包头的字节数(MAC祯头部大小,14)
* IN LookAheadBuffer - Points to the base virtual address of a range that contains LookaheadBufferSize bytes of buffered network packet data.
指向一系列包含着在“开始缓冲中的网络包数据的字节数”字节的缓冲的网络包数据的基本虚地址(IP包的开始部分)
* IN LookAheadBufferSize - Specifies the number of bytes of network packet data in the lookahead buffer.
确定在开始缓冲中的网络包数据的字节数
* IN PacketSize - Specifies the size, in bytes, of the network packet data. The length of the packet does not include the length of the header
以字节的形式确定网络包数据的大小,包的长度不包括头的长度。


纯属自己翻译(如有错误,请Email:lymlrx@21cn.com),希望对你能有所帮助。


[编辑 -  12/30/04 by  baobaook]
游客

返回顶部