2 * Copyright (c) 1998-1999, Index Data.
3 * See the file LICENSE for details.
4 * Sebastian Hammer, Adam Dickmeiss
6 * $Log: yaz-proxy-main.cpp,v $
7 * Revision 1.4 1999-04-09 11:46:57 adam
8 * Added object Yaz_Z_Assoc. Much more functional client.
10 * Revision 1.3 1999/02/02 14:01:21 adam
11 * First WIN32 port of YAZ++.
13 * Revision 1.2 1999/01/28 13:08:45 adam
14 * Yaz_PDU_Assoc better encapsulated. Memory leak fix in
15 * yaz-socket-manager.cc.
17 * Revision 1.1.1.1 1999/01/28 09:41:07 adam
18 * First implementation of YAZ++.
24 #include <yaz-socket-manager.h>
25 #include <yaz-pdu-assoc.h>
26 #include <yaz-proxy.h>
28 int main(int argc, char **argv)
30 Yaz_SocketManager mySocketManager;
31 Yaz_Proxy proxy(new Yaz_PDU_Assoc(&mySocketManager, 0));
33 proxy.server(argc < 2 ? "@:9999" : argv[1]);
34 while (mySocketManager.processEvent() > 0)