Update logical clock structures and add socket communication between members