Hi guys, in my instruction You may assume that at any moment, at most one program is accessing the database file; therefore your locking system only needs to be concerned with multiple concurrent clients of your server
Does this means I must not use lock unlock in standalone mode, if so how about the update(recno, data, lockCookie) method, do I need write another one for standalone mode operation? since it need lockCookie.
I don't want to lose my money from the deviation of requirement.
That's how I interpreted it, but defensively didn't lock the records in non-networked mode, since it is not necessary to do so.
In my requirements I'm pretty sure there is something about standalone mode using the same code as the client and server, with the networking removed. So if you lock on the server but not in the standalone version, it may be a problem.