*BSD News Article 25187


Return to BSD News archive

Xref: sserve comp.unix.bsd:13134 comp.protocols.tcp-ip:26609
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!zip.eecs.umich.edu!dip.eecs.umich.edu!zeeff
From: zeeff@dip.eecs.umich.edu (John Zeeff)
Newsgroups: comp.unix.bsd,comp.protocols.tcp-ip
Subject: Re: virtual hosts based on ip address?
Date: 20 Dec 1993 19:28:15 GMT
Organization: University of Michigan EECS Dept., Ann Arbor, MI
Lines: 9
Message-ID: <2f4ucf$l1u@zip.eecs.umich.edu>
References: <2eptfr$1lr@zip.eecs.umich.edu>
NNTP-Posting-Host: dip.eecs.umich.edu

So the remaining issue is how does one find the address that the originator
of the connection used to come in on (ie, what interface is being used)
when one is using the ifconfig alias command.

So similar to getpeername(), but for the local side.

I've haven't looked into it yet, but it seems that that information must be
available somewhere.