got socket creation working