04-01-2010 06:51 AM
Anyone have any examples to share to do this in my C code? and any ideas on how to link to this function? I also tried apache$set_ccl by calling it from my code via a logical but not working.
Solved! Go to Solution.
04-01-2010 08:27 AM
tell you what image to link against, how to call the function, and what privileges or rights identifiers you need.
A snippet of your code showing what you're passing to apache$$setsockopt and what you're doing to verify that the call was successful (or not) might help folks diagnose why it's not working for you.
04-02-2010 04:33 AM
04-02-2010 04:53 AM
Tried that reproducer with Mac OS X or Mac OS X Server and with another (newer, different) Apache server?
As for linking with Apache (and if I'm interpreting the "not working" phrase correctly), create a linker options file (called, say, YourOptionsFileName.OPT) with the following lines of text:
and add a YourOptionsFileName/OPTION parameter onto the LINK command, and you're probably good to go.