projects
/
yazpp-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump to SO version 5 for zoom lib
[yazpp-moved-to-github.git]
/
src
/
yaz-my-server.cpp
diff --git
a/src/yaz-my-server.cpp
b/src/yaz-my-server.cpp
index
372629c
..
67b21ac
100644
(file)
--- a/
src/yaz-my-server.cpp
+++ b/
src/yaz-my-server.cpp
@@
-1,5
+1,5
@@
/* This file is part of the yazpp toolkit.
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2011 Index Data and Mike Taylor
+ * Copyright (C) 1998-2012 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
@@
-194,14
+194,14
@@
int main(int argc, char **argv)
char *prog = *argv;
const char *addr = "tcp:@:9999";
char *apdu_log = 0;
char *prog = *argv;
const char *addr = "tcp:@:9999";
char *apdu_log = 0;
-
+
SocketManager mySocketManager;
SocketManager mySocketManager;
-
+
PDU_Assoc *my_PDU_Assoc = 0;
PDU_Assoc *my_PDU_Assoc = 0;
-
+
MyServer *z = 0;
int ret;
MyServer *z = 0;
int ret;
-
+
while ((ret = options("a:v:T", argv, argc, &arg)) != -2)
{
switch (ret)
while ((ret = options("a:v:T", argv, argc, &arg)) != -2)
{
switch (ret)
@@
-231,7
+231,7
@@
int main(int argc, char **argv)
#else
my_PDU_Assoc = new PDU_Assoc(&mySocketManager);
#endif
#else
my_PDU_Assoc = new PDU_Assoc(&mySocketManager);
#endif
-
+
z = new MyServer(my_PDU_Assoc);
z->server(addr);
if (apdu_log)
z = new MyServer(my_PDU_Assoc);
z->server(addr);
if (apdu_log)