Index: usage/c/sender/source/globus_usage.c
===================================================================
RCS file: /home/globdev/CVS/globus-packages/usage/c/sender/source/globus_usage.c,v
retrieving revision 1.14.4.2
diff -u -r1.14.4.2 globus_usage.c
--- usage/c/sender/source/globus_usage.c	7 Jun 2007 19:21:53 -0000	1.14.4.2
+++ usage/c/sender/source/globus_usage.c	28 Aug 2007 19:41:03 -0000
@@ -179,6 +179,7 @@
 {
     globus_result_t                     result = GLOBUS_SUCCESS;
     globus_i_usage_stats_handle_t *     new_handle;
+    globus_xio_attr_t                   attr;
     char *                              targets_env;
     globus_list_t *                     targets_list;
     char *                              contact;
@@ -289,7 +290,6 @@
             &new_handle->targets);
     }
 
-
     result = globus_xio_handle_create(
         &new_handle->xio_handle,
         globus_l_usage_stats_stack);
@@ -298,14 +298,32 @@
         return result;
     }
 
+    result = globus_xio_attr_init(&attr);
+    if(result != GLOBUS_SUCCESS)
+    {
+        goto exit;
+    }
+
+    result = globus_xio_attr_cntl(
+        attr,
+        globus_l_usage_stats_udp_driver,
+        GLOBUS_XIO_UDP_SET_NO_IPV6,
+        GLOBUS_TRUE);
+    if(result != GLOBUS_SUCCESS)
+    {
+        goto exit;
+    }
+    
     result = globus_xio_open(
         new_handle->xio_handle,
-        NULL, NULL);
+        NULL, attr);
     if(result != GLOBUS_SUCCESS)
     {
         return result;
     }
 
+    globus_xio_attr_destroy(attr);
+
     targets_list = new_handle->targets;
     while(targets_list)
     {
@@ -320,7 +338,15 @@
         {
             return result;
         }
-
+        result = globus_xio_data_descriptor_cntl(
+            *dd,
+            globus_l_usage_stats_udp_driver,
+            GLOBUS_XIO_UDP_SET_NO_IPV6,
+            GLOBUS_TRUE);
+        if(result != GLOBUS_SUCCESS)
+        {
+            goto exit;
+        }
         result = globus_xio_data_descriptor_cntl(
             *dd,
             globus_l_usage_stats_udp_driver,
@@ -328,7 +354,7 @@
             (char *)globus_list_first(targets_list));
         if(result != GLOBUS_SUCCESS)
         {
-            goto exit;
+            continue;
         }
         
         globus_list_insert(&new_handle->xio_desc_list, dd);

