pass player data to socket