TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: David Bannister
from: Billy O`connor
date: 1994-10-20 04:30:00
subject: Named Pipes

>@MSGID: 1:265/101.0 2ea2894e
 >What is the maximum number of named pipes supported under OS/2?

Hi, David.

I get +-450 with PM and +- 475 with TSHELL running this code:


#define INCL_DOSNMPIPES
#include 
#include 
#include 
 
	int	main(void) {
	UCHAR   FileName[256],tmp[20];
	HPIPE   PipeHandle;  
	ULONG   OpenMode,PipeMode,ulPipeNumber,fhcount; 
	APIRET  rc;
 
    	OpenMode = NP_ACCESS_DUPLEX;
    	PipeMode = NP_WMESG | NP_RMESG | 0x01;
	rc=DosSetMaxFH(32768);
	for(ulPipeNumber=0l;ulPipeNumber * Origin: PandA's Den BBS * Danvers, MA * 508-750-0250 * Node 1 (1:330/204)
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: 330/204 176 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™.