I've got the same device name but it's not really important u can although capture packet from it.
-----Original Message-----
From: Fakhar [mailto:[EMAIL PROTECTED]]
Sent: mardi 14 mai 2002 11:17
To: [EMAIL PROTECTED]
Subject: [WinPcap-users] how to get NICs information

Dear WinPacp team,
 
First its really a great work from you all.
 
I have a win2k machine having two NICs. Both are Realtek 8139C. I want to access their information through pcap_lookupdev. My code is as follows.
 
 
    char* device;
    char errBuff[PCAP_ERRBUF_SIZE];
   
    device = pcap_lookupdev( errBuff );
 
Now every time I run this code I get only "\" one chracter.
Please help me to sort it out.
 
Other question is that where is pcap_lookupdev function is defined.  I can not find this function in WPCAP project.
 
Thanks
 
 
Fakhar

Reply via email to