Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2000 15:00:39 -0700 (PDT)
From:      FengYue <fengyue@bluerose.windmoon.nu>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   a quick one
Message-ID:  <Pine.BSF.4.10.10007281459090.14780-100000@bluerose.windmoon.nu>
In-Reply-To: <3981F565.C6B12FCD@asl.dl.nec.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi there, a quick one.  Is getpeername() considered expensive?
Would it be much better if I cache the result myself instead of
calling it everytime on the connected socket(returned from accept) to 
find out which IP it connects to?

Thanks



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10007281459090.14780-100000>