Advertisement

How does NET.EXE work?

Started by October 26, 2003 02:27 PM
1 comment, last by TheWhy 21 years, 3 months ago
Is the source to the NET.EXE program included in Win9x/NT available? Because i want to know how it works. Espacially the NET SEND command. Does it use regular TCP/IP sockets and connect to the other computer or does it use RAW sockets in some way? the NET SEND command doesn''t work in Win9x. Is there anyone who knows how it works?
-TheWhy
Source for net.exe? not likely. I can''t tell you exactly how it does what it does, but I can tell you that on W2K it links with NETAPI32.DLL and MPR.DLL. Find out for yourself, grab a copy of dependency walker. Check out the profiling option and experiment with passing command line parameters to the exe.

From what I gathered from msdn, net.exe utilizes IPv6 - which might explain why the send command doesn''t work on W9x.

Unfortunately, finding information on "net.exe" using google isn''t easy because there are so many ".net" related pages.

There''s a decent reference to the various command line switches used by net.exe here: http://www.robvanderwoude.com/net.html
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes." - the Laughing Man
Advertisement
The Samba programmers are working on developing an Open Source version of net. net relies on the Windows SMB protocol to do most of what it does.

Also, I don''t think IPv6 is enabled by default on the NT OSs.



"The sun is the same in a relative way,
but you''re older"
--Pink Floyd

This topic is closed to new replies.

Advertisement