Finding network interface from socket descriptor

Tony Adams tadams at llex.ll.mit.edu
Fri Mar 29 07:32:56 AEST 1991


Machine/OS: SUN3,SUN4  SUNOS 4.03, SUNOS 4.1.1

Given that I have a socket descriptor to a connected TCP
socket (different machines, ethernet), what is the easiest 
way to determine the network interface??


Any help is appreciated.



More information about the Comp.unix.questions mailing list