2009-06-01 36 views
1

在本地计算机中研究IPC的Windows邮件后,我对数据报的最大大小有些困惑。 MSDN说本地计算机上的Windows邮箱最大大小

"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."

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

回答

1

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