Page 1 of 1

Network programming

Posted: Fri May 30, 2003 9:55 am
by liljester
I want to write a tool that will query a windows machine and give me various info, like hardware and software details. I know windows is extremely chatty over netbios ports, so my question is this:

once i connect to a netbios port (such as port 137), what do i write to that socket to iniate conversation? i realize this question has a very long answer, and mostly im interested in someone pointing me to a whitepaper or tutorial of some sort. anyone ever done anything like this with php?