def METHOD_NAME(host, port, data, debug=False):
    if debug:
        print('<Sending>\n', data, '\n</Sending>')
    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    s.connect((host, port))
    s.send(data)
    response = gntp.core.parse_gntp(s.recv(1024))
    s.close()
    if debug:
        print('<Received>\n', response, '\n</Received>')
    return response