SunOS problem with INADDR_NONE

From: Michael Pelletier <>
Date: Wed, 23 Jul 1997 09:22:45 -0400 (EDT)

The BSD/OS system on which I compiled my patch has INADDR_NONE defined as
"(0xffffffff)", but on SunOS, the inet_addr() function returns "-1". If
you're having trouble with this, just put in:

#define INADDR_NONE (-1)

And that should take care of the problem. I'll put out a new patch with
that, and the Linux fix real soon now...

Received on Wed Jul 23 1997 - 06:27:32 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:49 MST