cmake VTK_HAVE_LIBSOCKET examples

Kitware/VTK Common/System/vtkTestSocketFeatures.cmake :10

check_library_exists("socket" getsockname "" VTK_HAVE_LIBSOCKET)