Modify Socket Server Method