Modify socket in Server