News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

enumerate all computer who connected to 1 LAN

Started by elmo, April 13, 2011, 09:07:46 AM

Previous topic - Next topic

elmo

I make 1 LAN
it has 3 computer connected each other via Switch/ Hub(wired/ not wireless) in WorkGroup' name = X (example)

computer1: IP= 192.168.0.1
computer2: IP= 192.168.0.2
computer3: IP= 192.168.0.3

if I use WinXP, I only click MyNetworkPlace, then Click ViewWorkGroup.
on the screen will appear all computer name of the above computer.

I want to make an app. What API to enumerate all computer who connected to LAN?
I found the same topic. here: http://www.asmcommunity.net/board/index.php?topic=6038.0
but still not get the answer.
other topic who support this:
http://www.asmcommunity.net/board/index.php?topic=17545.0
http://www.masm32.com/board/index.php?PHPSESSID=1fba624f0f2404ac83e75becf8fb6c7b&topic=1056;prev_next=next

would you like to share me a clue?
thank you
sorry for my bad english.
best regards,
be the king of accounting programmer world!

fearless

NetServerEnum might be worth looking at: http://msdn.microsoft.com/en-us/library/aa370623%28v=VS.85%29.aspx using SV_TYPE_NT or maybe SV_TYPE_WINDOWS for just local nt, winxp, vista, win7 clients
Ć’earless