Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uwm.edu!linac!att!pacbell.com!ames!xn.ll.mit.edu!ll.mit.edu!news From: tadams@llex.ll.mit.edu ( Tony Adams) Newsgroups: comp.unix.questions Subject: Finding network interface from socket descriptor Message-ID: <1991Mar28.213256.12610@ll.mit.edu> Date: 28 Mar 91 21:32:56 GMT Sender: news@ll.mit.edu Organization: MIT Lincoln Laboratory Lines: 8 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.