created constant socket subclass