make createSocket_ return what it declares
return type formatting