@classmethod
def via_tcpip(cls, hostname, port, name=None, **kwargs):
    """Return a Driver with an underlying TCP Instrument resource.

        Parameters
        ----------
        hostname :
            The ip address or hostname of the instrument.
        port :
            the port of the instrument.
        name :
            Unique name given within Lantz to the instrument for logging purposes.
            Defaults to one generated based on the class name if not provided.
        kwargs :
            keyword arguments passed to the Resource constructor on initialize.
        **kwargs :
            

        Returns
        -------

        """
    resource_name = 'TCPIP::%s::%s::INSTR' % (hostname, port)
    return cls(resource_name, name, **kwargs)
