New new implementation for sockets