TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Schuller
from: Peter Fitzsimmons
date: 1997-02-08 22:03:04
subject: Re: Multiple threads accessing the same files

PS> Hmmm, what's this client/servet thing? Could you 
 PS> explain? File locking I know

In this context -- the client code (which does no file i/o) would send a
message to the server, like "read next message",  or "write
message". The server,  being a separate process (perhaps on a
different PC) would process these messages from all clients.  Since the
server is the only process that has any message files open,  it need not
use any locking at all.  This is _very_ efficient across a network, when
file locking is the other alternative.

Server processes usually have no (or very little) user interface.  For
example,  the game "quake" is client/server.  The server (not
having a user interface) is very portable,  and has been ported to many
OS's.

The quake server is kinda hidden for the normal stand-alone user,  but it
is how the multi-player game works.


--- 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™.