📄 readme-wpcap
字号:
Contiki network I/O on Microsoft Windows (including the Cygwin environment) isimplemented based on the quite popular WinPcap library that is available athttp://www.winpcap.org/install/default.htm.Developing Contiki network applications most likely involves working with anetwork protocol analyzer. Wireshark (formerly known as Ethereal) is a verypopular one that on Windows uses - and actually comes with - the WinPcaplibary. Wireshark is available at http://www.wireshark.org/download.html.So with Wireshark installed Contiki network I/O doesn't need any additionalcomponents.On Windows every Contiki application has one obligatory comand line argumentthat identifies the Windows network interface to be used by Contiki. While onUnix those network interfaces are called i.e. '/dev/tap0' they have on Windowsnames like '\Device\NPF_{F76B480A-1D31-4B3D-8002-C0EF49185737}'. In order toavoid the necessity to enter such names on the command line instead the IPaddress used by Windows is entered to identify the network interface to beused by Contiki. Please note that this IP address is _NOT_ the IP address tobe used by Contiki !Contiki network I/O on Windows uses the same MAC address used by Windows. Thisapproach often described as IP-Aliasing was primarily choosen because it avoidsputting the network interface into promiscuous mode. The major benefit of thisis the compatibility with WLAN interfaces - which mostly come with Windowsdevice drivers incapable of promiscuous mode.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -