Thx WINPCAP and Microsoft Research for the "hair saving library". Saved
my hair just when I started to reinvent from libpcap.


1. (call back thing )  Hey I had to spent lots of resources finding
workaround for  call back
dispatch handler.


I m using
        SendMessage(hTCPDumpViewWnd, WM_COPYDATA, (WPARAM)hWnd,
(LPARAM)&copydatastruct);

to eliminate the use of call back , why not winpcap add another function
, instead of pcap_loop


//my suggested pseudocode
send_packets(HWND ToDumpView,datato send)//actually the pcap_loop
{
               GetTheData()
            //Prepare the data to send
        SendMessage(hTCPDumpViewWnd, WM_COPYDATA, (WPARAM)hWnd,
(LPARAM)&copydatastruct);

          PeekNPump();//release ay queued pump
}

2. pcap_findalldevs
The follwoing wrong info been getting since 30a2


NIC: NabtsIp
        Address Family: #2
        Address Family Name: AF_INET
        Address: 192.168.168.110  -> actually none   <<<<<<<<<<<<<<<<<
        Netmask: 255.255.255.0
        Broadcast Address: 255.255.255.255
Name for netinfo :NabtsIp

NIC: SISNIC
        Address Family: #2
        Address Family Name: AF_INET
        Address: 0.0.0.0             >>>>>>actually 192.168.168.110
        Netmask: 0.0.0.0
        Broadcast Address: 255.255.255.255


         assumption to the reason

         i. although the unopened nic added cuz it could not open(since 
list only contains the nics that available for successful open)  casued 
the problem i guess in inet.c add_if and add_addr

         ii. address is not added cuz the nic could not open.

  i hope u all look into the matter soon.

please ignore if it has been resolved after 30a3. it persist until 30a3.




Aftab Jahan Subedar
Software Engineer/Overseas Business Development Manager
Suvastu Software Ltd
Suvastu Tower
69/1 Panhtapath Green Road
Dhaka 1205
Bangladesh
sms:+447765341890





==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[email protected]/

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]?body=unsubscribe
==================================================================

Reply via email to