Getting sockets to work.