问题标签 [mailslot]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
createfile - CreateFile 以 5 失败
我正在使用 win xp Professional x64 Edition,我正在尝试向 Windows 消息服务发送消息,例如使用 net send。我使用邮槽:
午餐后,我从 CreateFile 中的 GetLastError() 收到错误 5。我不知道如何解决它。我给了所有虚拟机权限,我打开了消息服务 ofc,我可以像其他人建议的那样用 notpad 打开它:CreateFile() Failed With GetLastError() = 5。我尝试了很多标志,但它并没有改变任何想法。有什么猜测吗?
c++ - 如何排除通用知名本地 SID 的远程 Windows MailSlot 访问?
我尝试使用 Windows Mailslots 进行进程间通信,但我想拒绝任何远程通信。我为我的邮槽设置了众所周知的本地 sid 但我仍然可以从我域中的另一台计算机写入邮槽
客户:
我附上了客户端服务器示例。
这里有什么问题?有没有办法通过邮槽排除远程连接?谢谢。
服务器示例:
客户端示例:
msg - msg.exe 在邮槽方面是如何工作的?
我真的想了解 msg.exe 在 Windows 10 中的工作方式。它甚至使用邮槽还是使用套接字?如果它使用邮槽,那么槽名称是什么(例如 net send 使用“\*\mailslot\messngr”)。如果有人能提前回答谢谢。