Prepare pass socket event