Opening of sockets