A method is provided for use in a computer system that is operating in a
peer-to-peer environment. The peer-to-peer environment has a host peer
and at least one non-host peer. The method of the invention is used to
order the operation requests of the peers so that operations are
performed only in the order that they are processed by the host peer. The
method includes providing a list of recognized operations which may be
requested by any of the peers in the session. The host peer then receives
at least one operation request from one of the peers, the request being
selected from the provided list. The host then assigns a unique version
number to the operation request, so that all peers within the session can
determine the proper order in which to process orders given by the host
peer.