| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Named pipe problems |
I have a program that I've been developing that has been successfully using named pipes for interprocess communications on OS/2 2.1. Now on OS/2 3.0,sometimes the named pipe communication fails in a way that seems to indicate that their might be some kind of buffer size problem. So I went to go look in the documentation for DosCreateNPipe() to verify that I was passing the write parameters. But there is a problem -- the documentation does not agree on the order of the parameters! The OS/2 3.0 toolkit lists the input buffer size before the output buffer size. But the example code does the opposite. The OS/2 2.1 toolkit lists the output buffer size before the input buffer size. The example code agrees with this. I was making calls according to the parameter order of the OS/2 2.1 toolkit. On OS/2 2.0, 2.1, and 2.11 it worked fine. But now it doesn't always work properly. Did IBM change the parameters for DosCreateNPipe()? Which is the correct order for the parameters in OS/2 3.0? --- Maximus/2 2.01wb* Origin: OS/2 Connection {at} Mira Mesa, CA (1:202/354) SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413 SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1 @PATH: 202/354 301 1 3615/50 229/2 12/2442 711/409 54/54 711/808 809 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™.