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'.