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: 23 Aug 1994 13:44:29 GMT	[thread overview]
Message-ID: <33cuft$45m@mrnews.mro.dec.com> (raw)
In-Reply-To: 339tgt$3et@mrnews.mro.dec.com

pbs@zuunix.zuo.dec.com (Philip Shearer @ZUO-DC EBS-Team) writes:
: uname -a == OSF1 macihine_name V2.1 250 alpha
: 
: The following example of an IP Multicast program was posted to
: comp.unix.programmer. 
: When I try to run it ( having made changes to the address) on an OSF1 

There is no need to touch the address.

: machine . I get an error message on the second setsockopt() function call.
: "[2]setsockopt: Invalid argument"
: 
: Any idears why?

I found the bug causing the above in the line: 
     sin.sin_addr.s_addr = htonl(inet_addr(GROUP));
should be:
     sin.sin_addr.s_addr =  inet_addr(GROUP) ;

But a second error: 
	setsockopt(SO_REUSEADDR)

SO_REUSEADDR seems to be broken is this a feature in OSF1?

Regards Philip


  reply	other threads:[~1994-08-23 13:44 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 [this message]
1994-08-24 14:31   ` Philip Shearer @ZUO-DC EBS-Team
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