* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: tcpip.c,v 1.21 2006-08-30 12:47:23 adam Exp $
+ * $Id: tcpip.c,v 1.22 2006-08-30 12:55:12 adam Exp $
*/
/**
* \file tcpip.c
char *p, buf[512];
short int port = default_port;
#ifdef WIN32
- unsigned long tmpadd;
+ unsigned long tmpadd;
#else
in_addr_t tmpadd;
#endif
+#ifndef INADDR_NONE
+#define INADDR_NONE -1
+#endif
+
if (!tcpip_init ())
return 0;
TRC(fprintf(stderr, "tcpip_strtoaddress: %s\n", str ? str : "NULL"));