Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2001 17:25:25 -0700
From:      Jos Backus <josb@cncdsl.com>
To:        freebsd-net@FreeBSD.ORG
Subject:   Re: How does getsockname() work?
Message-ID:  <20010914172525.C49323@lizzy.bugworks.com>
In-Reply-To: <20010914200750.A1784@tp.databus.com>
References:  <20010914122357.A49323@lizzy.bugworks.com> <20010914165555.A150@tp.databus.com> <20010914200750.A1784@tp.databus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 14, 2001 at 08:07:28PM -0400, Barney Wolff wrote:
> Oh yeah - you have to initialize local_len to the max length you
> can accept.  Whatever you took this code from either doesn't
> work reliably or you copied it wrong.
> Barney

I indeed forgot to initialize local_len. It works fine now. Thanks!
The bug in samplicator is still there in 1.3.1; I'll send a note to the
author(s).

-- 
Jos Backus                 _/  _/_/_/        Santa Clara, CA
                          _/  _/   _/
                         _/  _/_/_/             
                    _/  _/  _/    _/
josb@cncdsl.com     _/_/   _/_/_/            use Std::Disclaimer;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010914172525.C49323>