# Copyright (C) 1994, Index Data I/S
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.8 1995-03-15 11:18:17 quinn Exp $
+# $Id: Makefile,v 1.9 1995-03-15 15:18:51 quinn Exp $
SHELL=/bin/sh
INCLUDE=-I../include -I. -I../asn -I../odr -I../yazlib -I../../egate/include\
all: $(LIBDIR) $(LIB) $(PROG)
$(PROG): $(LIB) $(PROGO)
- $(CC) $(CFLAGS) $(LIBINCLUDE) -o $(PROG) $(PROGO) $(LIBS)
+ $(CC) $(CFLAGS) $(LIBINCLUDE) -o $(PROG) $(PROGO) $(LIBS) pwrite.o
alll:
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: statserv.c,v $
- * Revision 1.5 1995-03-15 08:37:45 quinn
+ * Revision 1.6 1995-03-15 15:18:52 quinn
+ * Little changes to better support nonblocking I/O
+ * Added backend.h
+ *
+ * Revision 1.5 1995/03/15 08:37:45 quinn
* Now we're pretty much set for nonblocking I/O.
*
* Revision 1.4 1995/03/14 16:59:48 quinn
#include <tcpip.h>
#include <xmosi.h>
+#include <unistd.h>
+#include <fcntl.h>
+
static char *me = "";
#define DEFAULT_LISTENER "tcp:localhost:9999"
fprintf(stderr, "You must specify either 'osi:' or 'tcp:'.\n");
exit(1);
}
- if (!(l = cs_create(type, 1)))
+ if (!(l = cs_create(type, 0)))
{
fprintf(stderr, "Failed to create listener\n");
exit(1);