Subject: socket question
To: None <netbsd-help@NetBSD.ORG>
From: Joe Budzyn <budzyn@clunix.cl.msu.edu>
List: netbsd-help
Date: 03/30/1995 16:56:38
Here is an interesting question. When you have a connection from a client
to the server, how do you get the IP address of the server from the connection.
For example: I want to have one machine aliased to several IP addresses,
yet I need to know which IP address was used to connect to the machine.
Any ideas? I don't want to do a kvm_read, or mess with raw sockets if
I don't have to.
Hopefully this is clear.
Joe