Got creating/linking a dynamic library working. C++ does name mangling, so that's why the other one wasn't working. I was compiling it with C++. Also, I need to look into line buffering for the parent/child processes of the server. I believe I read that if you add a newline character it will force the buffer to dump, so it would give the expected result of printing every line in sequence. If not, lines are in full buffered mode, resulting in lines being printed out of sync and in weird ways until a newline is encountered.