got the socket workingish