TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Doug Nazar
from: Joel Downer
date: 1996-02-15 14:49:00
subject: Remote Pipe Question...

Thanks for the feedback, Doug.  It's much appreciated.

DN>The server program simply gets the max number of clients (let's call it X)
DN>from it's config file or the command-line. Creates the named pipe on the
DN>server specifying X connections. You then create X number of threads which
DN>each do a DosConnectNPipe and then what for a client. You then route msgs

Doesn't OS/2 place a limit on the number of active threads?  If so, and
given that some people might want to run very large BBS'es on an OS/2
LAN (100+ nodes), couldn't there be some problems with this approach?
I'm not aware that there's any reason that a 100-thread server process
is *impossible*, but isn't that a log of resources to hog for one door?

Forgive me if this is another dumb question... I make no claims to
expertise here.   It sounds as if what I'd need to do to avoid
piggishness (at very least) is have one "listener" thread and then spawn
a new thread for each actual "hit" (rather than spawning MaxNodes
threads at startup).

Again, thanks for the info!

Joel

 * OLX 2.1 TD * Forget stealing.  It's the cat juggler that bothers me.

--- WILDMAIL!/WC v4.12 
* Origin: For a better door menu, FREQ IRONOX and FICTFACT! (1:202/704.0)
SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 202/704 701 777 3615/50 396/1 270/101 712/515 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™.