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.1 1999-01-28 09:41:07 adam
12 #include <yaz-socket-manager.h>
13 #include <yaz-pdu-assoc.h>
14 #include <yaz-proxy.h>
16 int main(int argc, char **argv)
18 Yaz_SocketManager mySocketManager;
19 Yaz_PDU_Assoc *my_PDU_Assoc = new Yaz_PDU_Assoc(&mySocketManager, 0);
20 Yaz_Proxy proxy(my_PDU_Assoc);
22 proxy.server("@:9999");
23 while (mySocketManager.processEvent() > 0)