upvote downvote socket code