Adding socket activity