Please refer to the following article extracted from MSDN
Messenger Service of Windows NT
ID: Q168893 --------------------------------------------------------------------------------
The information in this article applies to:Microsoft Windows NT Workstation versions 3.5, 3.51, 4.0
Microsoft Windows NT Server versions 3.5, 3.51, 4.0
Microsoft Windows 2000 Professional
Microsoft Windows 2000 Server
Microsoft Windows 2000 Advanced Server--------------------------------------------------------------------------------
SUMMARY
Using the Messenger Service in Windows NT gives you varying results that depend on the command options or interface you use to send messages. The method you use determines whether the message will be a local Broadcast or a directed datagram, and to which NetBIOS name the message will be sent. For additional information, please see the following article in the Microsoft Knowledge Base: Q163409 NetBIOS Suffixes (16th Character of the NetBIOS Name) MORE INFORMATIONNET SEND *
Sends out a broadcast to all registered users of the local domain <00> through each protocol on the sending computer. For example, a computer running Windows NT server with NWLINK, TCP/IP, and NetBEUI would send three broadcast messages to domain <00>. A user in the domain running all three protocols would receive three messages.
NET SEND /DOMAIN:NAME
Sends out a broadcast to the specified domain name <00> through each protocol on the sending machine. This functions the same as the NET SEND *, with the exception that you can choose a specific domain, instead of using your current logon domain.
NOTE: With NET SEND * and NET SEND /DOMAIN:NAME, only users on the local subnet that belong to the specified domain, will receive the message.For additional information, please see the following article in the Microsoft Knowledge Base:
Q150881 Local NetBIOS Name Query Broadcast Not Forwarded by Router
NET SEND NAME
Sends a directed message to the <03> NetBIOS entry for the user specified. The user receives only one message, and the normal methods for detecting NetBIOS names will be used. For additional information, please see the following articles in the Microsoft Knowledge Base:
Q119493 NetBIOS over TCP/IP Name Resolution and WINSQ119490 How Routers Handle IPX Type 20 NetBIOS Packets
NET SEND /USERS
Sends a directed message to the <03> NetBIOS entry for the computer name of each session established with the server. You can view these connections through Server Manager. If a computer has three sessions open under Server Manager, then that computer will receive the message three times.
SERVER MANAGER - SEND MESSAGE
Send a directed message to the <03> NetBIOS entry for each computer connected to the server. Unlike the NET SEND /USERS, only one message will be sent to each connected computer, even if the computer has multiple sessions with the server.
Messenger Service of Windows NT
ID: Q168893 --------------------------------------------------------------------------------
The information in this article applies to:Microsoft Windows NT Workstation versions 3.5, 3.51, 4.0
Microsoft Windows NT Server versions 3.5, 3.51, 4.0
Microsoft Windows 2000 Professional
Microsoft Windows 2000 Server
Microsoft Windows 2000 Advanced Server--------------------------------------------------------------------------------
SUMMARY
Using the Messenger Service in Windows NT gives you varying results that depend on the command options or interface you use to send messages. The method you use determines whether the message will be a local Broadcast or a directed datagram, and to which NetBIOS name the message will be sent. For additional information, please see the following article in the Microsoft Knowledge Base: Q163409 NetBIOS Suffixes (16th Character of the NetBIOS Name) MORE INFORMATIONNET SEND *
Sends out a broadcast to all registered users of the local domain <00> through each protocol on the sending computer. For example, a computer running Windows NT server with NWLINK, TCP/IP, and NetBEUI would send three broadcast messages to domain <00>. A user in the domain running all three protocols would receive three messages.
NET SEND /DOMAIN:NAME
Sends out a broadcast to the specified domain name <00> through each protocol on the sending machine. This functions the same as the NET SEND *, with the exception that you can choose a specific domain, instead of using your current logon domain.
NOTE: With NET SEND * and NET SEND /DOMAIN:NAME, only users on the local subnet that belong to the specified domain, will receive the message.For additional information, please see the following article in the Microsoft Knowledge Base:
Q150881 Local NetBIOS Name Query Broadcast Not Forwarded by Router
NET SEND NAME
Sends a directed message to the <03> NetBIOS entry for the user specified. The user receives only one message, and the normal methods for detecting NetBIOS names will be used. For additional information, please see the following articles in the Microsoft Knowledge Base:
Q119493 NetBIOS over TCP/IP Name Resolution and WINSQ119490 How Routers Handle IPX Type 20 NetBIOS Packets
NET SEND /USERS
Sends a directed message to the <03> NetBIOS entry for the computer name of each session established with the server. You can view these connections through Server Manager. If a computer has three sessions open under Server Manager, then that computer will receive the message three times.
SERVER MANAGER - SEND MESSAGE
Send a directed message to the <03> NetBIOS entry for each computer connected to the server. Unlike the NET SEND /USERS, only one message will be sent to each connected computer, even if the computer has multiple sessions with the server.
解决方案 »
- 如何在CDockablePane 上创建CMFCButton
- 有关用CreateProcess打开网页的问题!!(返回的进程ID跟实际的进程ID不一样<用SPY++找不到>)
- 如何在用WTL写的对话框上插入activex控件。
- DLL调用的问题
- Program Files\Microsoft Platform SDK\Lib\ 下有IA64 跟AMD64两个目录,内容大体相同,它们分别是做什么的库文件?
- 用MFC编程是用类向导那个东西还是自己编码啊?
- 不同类型的表达式(包括sin,cos,log等等各种数学运算符号)求值,请谈谈看法,给个思路。
- ====SendMessage的问题===
- 请DX指教:如何清空PostThreadMessage,产生的消息队列???
- 对话框和类关联的问题
- 请问如何取得另一进程运行到某一地址处的寄存器值?
- 急,请教各位关于ftp取文件的问题
提示:用HOOK,service就没有必要了。