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.2 1999-01-28 13:08:45 adam
8 * Yaz_PDU_Assoc better encapsulated. Memory leak fix in
9 * yaz-socket-manager.cc.
11 * Revision 1.1.1.1 1999/01/28 09:41:07 adam
12 * First implementation of YAZ++.
16 #include <yaz-socket-manager.h>
17 #include <yaz-pdu-assoc.h>
18 #include <yaz-proxy.h>
20 int main(int argc, char **argv)
22 Yaz_SocketManager mySocketManager;
23 Yaz_Proxy proxy(new Yaz_PDU_Assoc(&mySocketManager, 0));
25 proxy.server("@:9999");
26 while (mySocketManager.processEvent() > 0)