Linked the new functions to libsockets