Refactor
Update CoSocket