adding accessors for socket types