I have a network consists of 5 machines. One machine called leader (server), other called followers (clients). I use ServerSocket in leader side (to make it server) and use Socket in follower side to make them clients. This structure works perfectly.
Now, I want to add new change to above network. I would like to allow follower (clients) to send a message to others followers. How can I achieve that?
Is it possible to achieve that by making each follower (client) has Socket (connect with leader) and ServerSocket (connect to followers)?.
I look forward to hearing from you.