TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Schuller
from: Peter Fitzsimmons
date: 1997-03-01 02:03:48
subject: Re: Client/server - two choices

PS> copying the file to disk. And just to make it easy I 
 PS> could make sure all the 
 PS> data is waiting in the pipe before reading, that way I 
 PS> wouldn't have to worry 
 PS> about the server being slower than the client (ie, 
 PS> trying to read a 10 byte 
 PS> data structure, and there's only 7 bytes in the pipe...).

You never have to be concerned with that scenario if you are using a
"MASSAGE MODE PIPE" (as opposed to a "BYTE MODE PIPE").
  This was the whole intent of the message mode named pipe,  and one of the
features that makes named pipes so beautiful.

The only concern, due to a bug in OS/2 (that IBM would rather call a
limitation) is that the message must not cross a 64k boundary.


--- Maximus/2 3.00
* Origin: Sol 3 * Toronto * V.32 * (905)858-8488 (1:259/414)
SEEN-BY: 50/99 54/99 270/101 620/243 625/160 711/401 413 430 934 712/311 407
SEEN-BY: 712/505 506 517 623 624 704 713/317 800/1
@PATH: 259/414 99 2424/38 11 10 12/12 396/1 270/101 712/624 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.