[TriLUG] C & sockets programming question

Rick DeNatale rick.denatale at gmail.com
Thu Jul 28 11:18:23 EDT 2005


On 7/28/05, Tanner Lovelace <clubjuggler at gmail.com> wrote:
> On 7/27/05, Wing D Lizard <wingedlizard at nc.rr.com> wrote:
> > But a socket is tied to an ip address, and each interface has it's own
> > ip address.
> 
> But, an interface may actually have anywhere from 0 to n IP addresses
> it responds to.

And I'm pretty sure that there are cases where the ip address to
interface mapping can change while a socket is still open, e.g. a card
swap, moving between two different wireless setups, dhcp ...  One of
the beauties of the socket api is that it insulates the app from such
low-level considerations.



More information about the TriLUG mailing list