def sendto(self, data, *args):
        '''
        Send data on the socket.  Accepts the same parameters as the
        built-in socket sendto: data[, flags], address
        where address is a 2-tuple of IP address and port.
        Any flags are currently ignored.
        '''
        remoteaddr = args[-1]
        remoteaddr = _normalize_addrs(remoteaddr)
        return self._send(data, (self._proto, self._local_addr[0], 
            self._local_addr[1], remoteaddr[0], remoteaddr[1]))