change libname to cppsocket