You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2004/11/18 11:45:34 UTC
cvs commit: ws-axis/c/src/transport/axis2/ipv6 IPV6Channel.cpp
samisa 2004/11/18 02:45:34
Modified: c/src/transport/axis2/ipv6 IPV6Channel.cpp
Log:
Used PF_UNSPEC as family type to get it working with both IPV4 and IPV6 at run time.
Revision Changes Path
1.3 +2 -1 ws-axis/c/src/transport/axis2/ipv6/IPV6Channel.cpp
Index: IPV6Channel.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/transport/axis2/ipv6/IPV6Channel.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- IPV6Channel.cpp 16 Nov 2004 02:39:15 -0000 1.2
+++ IPV6Channel.cpp 18 Nov 2004 10:45:34 -0000 1.3
@@ -103,7 +103,8 @@
// hints is used after zero cleared
memset(&hints, 0, sizeof(hints));
//hints.ai_family = PF_INET;
- hints.ai_family = PF_INET6;
+ //hints.ai_family = PF_INET6;
+ hints.ai_family = PF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
char port[7];