From owner-freebsd-hackers Tue Oct 12 1:22:21 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by hub.freebsd.org (Postfix) with ESMTP id BF8C214DC3 for ; Tue, 12 Oct 1999 01:22:12 -0700 (PDT) (envelope-from sharadj@wipinfo.soft.net) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id NAA15584; Tue, 12 Oct 1999 13:52:36 +0500 (GMT) Received: from rishabh.wipinfo.soft.net (root@rishabh.wipinfo.soft.net [192.168.2.5]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id NAA09456; Tue, 12 Oct 1999 13:53:17 +0500 (GMT) Received: from rishabh.wipinfo.soft.net (sharadj@rishabh.wipinfo.soft.net [192.168.2.5]) by rishabh.wipinfo.soft.net (8.9.3/8.9.3) with SMTP id OAA05234; Tue, 12 Oct 1999 14:04:38 +0530 Date: Tue, 12 Oct 1999 14:04:36 +0530 (IST) From: Sharad Joshi To: "S.RadhaKrishna" Cc: freebsd-hackers@FreeBSD.ORG, linux-net@vger.rutgers.edu Subject: Re: getsockopt not working?? In-Reply-To: <9910121210.AA23607@tagore.wipinfo.soft.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 12 Oct 1999, S.RadhaKrishna wrote: + hi, + I'm using getsockopt to get IP_MULTICAST_TTL. But it always returns ttl + as 0. It doesn't fail either. + Here is the call I'm using : + ----------- + int get_ttl=0; + u_char ttlSize=0; ^^^^^^^^^ 'Coz of this i presume. Should'nt this be 4? Sharad. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message