'Send a 4letter word command to the server'

def _send_cmd(self, cmd):

    s = self._create_socket()
    s.settimeout(self._timeout)
    data = ''
    try:
        s.connect(self._address)
        s.send(cmd)
        data = s.recv(2048)
        s.close()
    except Exception as e:
        LOG.error(('Problem    connecting    to    host    %s,    exception    raised    :    %s' % (self._host, e)))
    return data
