Getting sockets working

Getting sockets working