Node:sync-kom, Next:, Previous:enable, Up:Protocol Requests



sync-kom [43] (1) Recommended


        sync-kom [43] ( )
                -> ( );

This call instructs the LysKOM server to make sure the permanent copy of its database is current. Processing of requests is normally blocked until this call has completed, but the exact details depend on the server implementation. This call is privileged in most implementations.

Example:

        1 42 255
        =1
        1 43
        :0 7
        :0 7
        =1

This example shows how the enable call is used to enable all privileges, then the sync-kom call is used to save the database. The server responds with two asynchronous messages signaling that the database is being saved.

Error codes

login-first
Login required before issuing this call.
permission-denied
Administrator bit not set or privileges not enabled.