Hello Scott.
In one of your log-files I found that
Kaboodle not correctly determines itself MAC address (all-zeroes).
Kaboodle determines itself MAC address by the function
*BOOL CNIDPC::CreateLocal(...)*.
There are 2 points of such determination in above function:
- at first the function *bool CNIDPC::GetMacAddressforLocalMachine()*
called,
- if that calling failed, then the function *int GetMacAddress(...)* called.

I never didn't look inside these functions,
I don't know who are the authors of them.
Now I have debugged them and found that
the function *GetMacAddressforLocalMachine()* don't works correctly.
That function cannot work correctly because there is a fundamental error:
there absent a source code, which define a size of memory for calling
the function *GetIfTable* from the library *iphlpapi.dll*.
I implemented that code.
Now the function *GetMacAddressforLocalMachine()*
works correctly in my tests.

Also I looked into the function *GetMacAddress()*.
That function always correctly works in my tests,
but don't works in your log file.
I didn't found any error in that function.
I have inserted output additional data from that function into the log file.
Also I have added calling of above function always for debugging goal.
Please repeat your testing steps and sent you log file.
I guess that MAC address will be correct,
but I want to get additional debugging data from the function
*GetMacAddress()*.
- Igor

----- Original Message -----
From: "Scott C. Best" <[EMAIL PROTECTED]>
To: "Igor Kotelevsky" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; "Kaboodle-devel"
<[EMAIL PROTECTED]>
Sent: Wednesday, October 23, 2002 9:08 AM
Subject: Re: [Kaboodle-devel] Re: Misc bugs, 18 Oct 02


> Igor:
> Heya.
>
> > I looked into your previous log file and found the strange thing:
> > there is a device, which MAC address is all zeroes.
> > At first all devices appear in the function
> > *void CSearchNetworkManager::StartPing(...)*.
> > That function has a special check, which didn't allow the device
> > *"all zeroes" MAC address*. But later in the function
> > *void CNetworkLocalView::RebuildNIDTopology*
> > that "wrong" device appear. I guess that some part of the source
> > code contains an error, which spoils these data.
> > I inserted additional data into the log file *NidLog.txt*.
> > Please repeat the bug and sent me that file from your PC.
>
> NidLog.txt is attached. I see the same bug: the first
> Kaboodle instance has all-zeroes in MAC address field. The
> second Kaboodle instance gets the NID from the 1st, then it
> "discovers" the first PC, and displays it with its real MAC
> address.
>
> cheers,
> Scott
>
>





-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en
_______________________________________________
Kaboodle-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kaboodle-devel

Reply via email to