Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: pbs@zuunix.zuo.dec.com (Philip Shearer @ZUO-DC EBS-Team)
Subject: Re: [Q] Help with an IP Multicast example.
Date: 24 Aug 1994 14:31:15 GMT	[thread overview]
Message-ID: <33fljj$bp6@mrnews.mro.dec.com> (raw)
In-Reply-To: 33cuft$45m@mrnews.mro.dec.com

pbs@zuunix.zuo.dec.com (Philip Shearer @ZUO-DC EBS-Team) writes:
: 
: But a second error: 
: 	setsockopt(SO_REUSEADDR)
: 
: SO_REUSEADDR seems to be broken is this a feature in OSF1?

It's a feature.
The answer lies in the <sys/socket.h> file
#define SO_REUSEADDR  ..  /* allow local address reuse */

#define SO_REUSEPORT ... /* allow local addr and port reuse */

So replace the instance of SO_REUSEADDR with SO_REUSEPORT and the 
program works as expected.

 
Regards Philip


      reply	other threads:[~1994-08-24 14:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-08-22 10:09 [Q] Help with an IP Multicast example Philip Shearer @ZUO-DC EBS-Team
1994-08-23 13:44 ` Philip Shearer @ZUO-DC EBS-Team
1994-08-24 14:31   ` Philip Shearer @ZUO-DC EBS-Team [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox