Fog Creek Software
Discussion Board




Programmer question - NetServerGetInfo?

Can I use this function without NetBios in my network (winnt40sp3 win2000 winXP) to determinate which version of windows running on computers. Some of them in domain and some of them not.

Jacob Filimonov
Friday, December 05, 2003

Nope, it sure looks like an API that uses NetBios to work, so you'll need the "Microsoft Client" item in your network configuation.

BTW, just in case, since a lot of people mistake are confused about this... NetBios != NetBeui. The former is a network API (eg. TCP); The latter is a network protocol (eg. IP). You do not need to have NetBeui installed in addition to TCP/IP.

Frederic Faure
Friday, December 05, 2003

Thanks for you help, but i can't understand how "Microsoft client" concerned whith NetBios over tcp/ip checkbox?

Jacob Filimonov
Friday, December 05, 2003

Thanks for you help, but i can't understand how "Microsoft client" concerned whith NetBios over tcp/ip checkbox?


Somebody stop me if I'm wrong, but "Microsoft Client" installs the NetBios stuff (API, opens TCP/UDP ports), while you need to leave "Enable NetBios over TCP/IP" checked in your network configuration (TCP, Properties, Advanced, WINS) if you only want to use TCP/IP and not keep NetBeui.

So yes, Net*() are NetBios-based.

Frederic Faure
Friday, December 05, 2003

Thanks again.
But when i check  out "Microsoft Network" NetServerGetInfo stiil succeeds.
Now i see right question. What "NetBios over tcp/ip" and "Microsoft Network" do? And what supposition about my network i should make to use NetServerGetInfo.

Jacob Filimonov
Friday, December 05, 2003

*  Recent Topics

*  Fog Creek Home