initial socket interface