2009-06-01 40 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個字節。它可以接收高達郵槽緩衝區發送的數量