Control clam via its socket