[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] enable socket in lwip
From: |
Gisle Vanem |
Subject: |
Re: [lwip-users] enable socket in lwip |
Date: |
Sat, 07 Jan 2012 20:00:11 +0100 |
"Carol Lai" <address@hidden> wrote:
I ran the windows example and it also stops at "Attempting to open interface
number ##" where ## is configNETWORK_INTERFACE_TO_USE value.
My dos window shows 7 adapters and I tried all numbers but none of them
pass that "attempting" state. Below is the print out.
------------------
Starting lwIP, local interface IP is 172.25.218.200
1. rpcap://\Device\NPF_{2FFF9284-43BC-43DD-BDF1-28185738EFF8} (Network adapter '
Microsoft' on local host)
I doubt that your Winpcap supports remote capture; that's what the "rpcap://"
scheme
means. In any case that device isn't writable, so you get no luck with that.
You need
to define 'NETWORK_INTERFACE_TO_USE' to a device (GUID) you actually have
installed.
Btw, I cannot find 'NETWORK_INTERFACE_TO_USE' in any lwIP file. Do you mean:
#define PACKET_LIB_ADAPTER_GUID "8D3A23A7-9C6C-408B-A23B-6736F9E56510"
One hint for this GUID is from the command
"netsh winsock show catalog | grep _tcpip_"
(this show the Winsock low-level LSP providers).
or Wireshark, or "windump -D". Good luck.
--gv