To run this progam, first build all packages
go build -o ../../pkg/member.a member/member.go;
go build -o ../../pkg/util.a util/util.go;
go build -o ../../pkg/daemon.a daemon/daemon.go
Run go run membership.go.
We have specified Port 4000 as our UDP listener.
Enter command line input JOIN,LEAVE,LIST to join group, leave group and list all active nodes in the group.
All outputs will be stored in vm.log and will also shows in Standard output.