add disconnect to socket, and change dommaine to domain
add disconnect to socket, and change dommaine to domain