Messages in this thread | | | Date | Tue, 20 Jul 1999 10:18:24 -0400 | From | Mike Shaver <> | Subject | Re: Trying to get a 'to' IP address from a socket |
| |
Fred Cohen wrote: > > I'm not on the list, so please respond directly to me. > > I am trying to figure out how to get a destination IP address from a > socket that has been passed to me by another program.
Have you looked at getpeername(2)?
Mike
-- 51191.03 50799.75
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |