dfs socket communication

communication among master, slave, client