Im stuck on a problem where I need to get the computer name of a user where who will recieve the message. I need this to use the computer name on the mailslot (//computername/mailslot/messngr). I've been searching for weeks and and nearest possible solution that I can see as of the moment is to make broadcast on udp port 137 on Netbios Name query.

problem is I don't know anything about it. I saw, using ethereal, that whenever a user send a message it creates an entry where the destination is the broadcast address (192.168.0.255).

what is the concept behind this ?
how can I use UDP port 137 to send message (winpopup concept using mailslot) ?
is it possible to get the computer name using this port ?
or is it the server who queries every workstation ?

Thank you very much in advance.

-= Environment =-
Network OS: Linux 9 + Samba 3
Workstations : Windows 98
VB Ver. : VB6