Home Web Design Programming Fairlight CMI Soap Box Downloads Links Biography About... Site Map

The Holmes Page File Sharing Matrix

CA-Clipper Opportunities Tips and Tricks Networking Internal Errors Source Code CA-VO



BACK TO
CA-CLIPPER
NETWORKING

When a file is opened in CA-Clipper (using DOS function 3Dh), the following table is referenced to determine if the file sharing flags permit the file open to succeed. 
Note  The neterr() function returns an exact reflection of the outcome of the sharing matrix.


subsequent opens...
DRW DW DR DN
  r  r/w w    r  r/w w    r  r/w w    r  r/w w 
first
open...
DRWr nNn nnn nnn nNn
r/w NNN NNN NNN NNN
w nNn nnn nnn nNn
DWr nNn ynn nnn yNn
r/w nNn nnn nnn yNn
w nNn nnn ynn yNn
DRr nNn nnn nnn nNy
r/w nNn nnn nnn nNy
w nNn nnn nny nNy
DNr nNn yyy nnn yYy
r/w NNN NNN NNN YYY
w nNn nnn yyy yYy
X CA-Clipper uses these modes

Legend
Y = subsequent opens are allowed
N = subsequent opens are denied
DRW = deny read/write (EXCLUSIVE)
DW = deny write
DR = deny read
DN = deny none (SHARED)
r = read
w = write
r/w = read/write


Home Web Design Programming Fairlight CMI Soap Box Downloads Links Biography About... Site Map

Site Map Send comments about this site to Greg at gregh@ghservices.com
All pages copyright © 1996-1999 GH Services™   Created 1997/06/09   Last updated 1999/09/30
All trademarks contained herein are the property of their respective owners