Group: comp.os.linux.networking
From: David Schwartz
Date: Wednesday, March 12, 2008 11:43 AM
Subject: Re: glibc, glibc sockets

On Mar 11, 9:20 pm, begin.middle....@gmail.com wrote:

> [What I am trying to do is modify some socket functions in glibc and
> install it, for a school class project].

The socket functions are just very thin wrappers around kernel calls.
If you want to trap/modify them, the best way is probably to do it in
your own library. Google for 'LD_PRELOAD' and 'RTLD_NEXT'.

Safety Articles | Usenet Groups | Usenet News | Bluegrass