| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Message pipes |
PS> Yeah, I read about that. But each process will be PS> separate, I will simply PS> startx several instances of on EXE. Prefarably without any multi-process PS> implementation. Each process shouldn't have to know if PS> it's "alone" or if PS> there are 123 other instances of itself. But as I PS> understand it, a named pipe PS> can only exist as one pipe, serverclient. But can PS> however allow multiple PS> clients access the same pipe, but not multiple PS> servers. You've been lead a little astray. With one pipe name: - one server process can serve multiple clients. Each pipe is distinct; with its own handle. - You can start multiple servers (using the same pipe name) to serve multiple clients. One server per client is just fine. The only concern is the very first program that calls DosCreateNPipe() -- that decides how many pipes can be created with that name. Subsequent calls can pass a number, but it will be ignored. PS> Is it at all possbile to achive the possibility to PS> create multiple instances PS> of one pipe that is 100% separate when the clients/servers are concerned? Yes -- but it is not "one pipe". Each pipe is distinct -- but they can all use the same pipe name. PS> I wanna save as much CPU as possible. And to modify Then you should try to have only one server (start a new thread as each client connects)... --- 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/155 160 711/401 413 430 934 712/311 SEEN-BY: 712/407 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™.