摘要: EtherType :以太网类型字段及值EtherType 是以太帧里的一个字段,用来指明应用于帧数据字段的协议。根据 IEEE802.3,Length/EtherType 字段是两个八字节的字段,含义两者取一,这取决于其数值。在量化评估中,字段中的第一个八位字节是最重要的。而当字段值大于等于十进制值 1536 (即十六进制为 0600)时, EtherType 字段表示为 MAC 客户机协议(E... 阅读全文
posted @ 2010-08-12 23:19 网络小虫 阅读(1312) 评论(0) 推荐(0) 编辑
摘要: enum{ IPPROTO_IP = 0, // Dummy protocol for TCP. IPPROTO_HOPOPTS = 0, // IPv6 Hop-by-Hop options. IPPROTO_ICMP = 1, // Internet Control Message Protocol. IPPROTO_IGMP = 2, // Internet Group Management... 阅读全文
posted @ 2010-08-12 17:30 网络小虫 阅读(1136) 评论(0) 推荐(0) 编辑
摘要: 原文摘自 codeprojectRaw Sockets and Windows关于raw socket 在windows 平台的使用 First of all, it must be understood very clearly that raw sockets is not a feature of the network API (although it must be present th... 阅读全文
posted @ 2010-08-12 14:27 网络小虫 阅读(6475) 评论(0) 推荐(0) 编辑