I have made the change to use one of the constants, but I still need to use shutdown. both libcurl and sockets have a close() function and the compiler was having issues trying to figure out which one to use.