Testing sockets initialized