faint.这么长,看着头晕。看不过来,下面是msdn中的原话,看对你有没有帮助吧Use the snb_type values provided by the WSNETBS.H header for NetBIOS name registration and deregistration. 
When filling out a sockaddr_nb structure, you must specify the appropriate value for the snb_type field. This field is used during the bind() operation to handle NetBIOS name registration. The WSNETBS.H header defines several values for this field; however only the following two values are currently implemented:     - NETBIOS_UNIQUE_NAME      Registers a unique NetBIOS name. This action is usually performed
      by a client or a server to register an endpoint.    - NETBIOS_GROUP_NAME      Registers a group name. This action is typically performed in
      preparation for sending or receiving NetBIOS multicasts.Names are registered during the bind() operation