adding socket multicast and pid processing