【问题标题】:windows mailslot max size on local computer本地计算机上的 windows mailslot 最大大小
【发布时间】:2009-06-01 00:21:23
【问题描述】:

在本地计算机中研究 IPC 的 windows mailsots 后,我对数据报的最大大小有点困惑。 MSDN 说

"A mailslot is a pseudofile that resides in memory, and you use standard file functions to access it. The data in a mailslot message can be in any form, but cannot be larger than 424 bytes when sent between computers. Unlike disk files, mailslots are temporary. When all handles to a mailslot are closed, the mailslot and all the data it contains are deleted."

“在计算机之间发送时”让我感到困惑。如果数据仅从一个本地进程发送到同一台机器上的另一个进程,是否有最大大小?

【问题讨论】:

    标签: windows winapi ipc


    【解决方案1】:

    我自己找到了答案。是的,如果进程在同一台本地计算机上,它可以接收超过 400 个字节。它最多可以接收邮件槽缓冲区发送到的数量

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-08-18
      • 1970-01-01
      • 2020-04-11
      • 1970-01-01
      • 2018-10-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多