-/* $Id: zoomtst3.c,v 1.11 2006-04-21 10:28:08 adam Exp $ */
-
-/** \file zoomtst3.c
- \brief Asynchronous multi-target client
-
- Performs search and piggyback retrieval of records
-*/
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
+ * See the file LICENSE for details.
+ */
#include <stdio.h>
#include <stdlib.h>
/* network I/O. pass number of connections and array of connections */
while ((i = ZOOM_event (no, z)))
{
- printf ("no = %d event = %d\n", i-1,
+ int peek = ZOOM_connection_peek_event(z[i-1]);
+ printf ("no = %d peek = %d event = %d\n", i-1,
+ peek,
ZOOM_connection_last_event(z[i-1]));
}