you don't have to use self.cc_sock, using self.sock would work just fine as long as they are the same type (meaning IPv4 socket sends to IPv4 IP/port and IPv6 socket sends to IPv6 IP/port)