I want to get a notification every time my NetBIOS Name Table changes:
When names are added, deleted, refreshed and released. I could
frequently ask nbtstat.exe or the corresponding function, but I'd like
to realize it without polling, so I think I need a callback or something
similar.
I've already tried (using the Netbios function of the Windows-API)
registering a name and then Synchronously listening for Broadcast, which
didn't work IMO because the NetBIOS Name Service catches all Messages
belonging to it and hides them from me (right?). Then I started using
WinPcap <winpcap.org> to capture all raw packets, aiming to filter out
the relevant ones, but I've not finished yet.
Any help would be appreciated.
Jonathan Biegert