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. --Juan