拆分Socket类