On Wednesday 19 November 2008 00:10:52 Juan Lang wrote:
Does that netbios code actually work? IIRC you need to bind to port 137 to do netbios requests.
That's not strictly true, you can be a client without binding to port 137. You just can't advertise any services. I haven't tried it myself in a long, long time, though I did hear from a couple people that were using it successfully a few years ago.
Oh, ok. I've only ever seen 137 in traces, but I guess that makes sense on Windows, where browsing is a system service anyway.
Thanks for pointing that out, Juan.
Ricardo, I'm currently looking at the netapi32 files you pointed out.
Thanks for the catch.
Cheers, Kai