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.3 1999-02-02 14:01:21 adam
8 * First WIN32 port of YAZ++.
10 * Revision 1.2 1999/01/28 13:08:45 adam
11 * Yaz_PDU_Assoc better encapsulated. Memory leak fix in
12 * yaz-socket-manager.cc.
14 * Revision 1.1.1.1 1999/01/28 09:41:07 adam
15 * First implementation of YAZ++.
21 #include <yaz-socket-manager.h>
22 #include <yaz-pdu-assoc.h>
23 #include <yaz-proxy.h>
25 int main(int argc, char **argv)
27 Yaz_SocketManager mySocketManager;
28 Yaz_Proxy proxy(new Yaz_PDU_Assoc(&mySocketManager, 0));
30 proxy.server("@:9999");
31 while (mySocketManager.processEvent() > 0)