OS: Windows 98
Server OS: Linux 9 + Samba 3
VB6

I wrote a small program where a user can send message using mailslots (winpopup style) problem is if a person send a message using computer name, it is ok. But when a user send a message using the username the message is not sent.

for instance, if user "USER1" logon to computer "PC01" and another user send a message using "USER1". The message will not be sent. But if the user will use "PC01" to send message, the message will be received by "USER1" on "PC01".

I was able to determine if computer is online by using IsDestinationReachable() but I can't determine the computer name where a user logon.

I need to determine the computer name where a user is logon because i think mailslot uses \\"computername"\mailslot\messngr.

Please help, I've been searching for this on the net for days now. Thanks in advance.