more experiments with sockets. starting to make sense