Skip to content

Commit 9faf1b3

Browse files
committed
Terminology: change dual-protocol to dual-stack
1 parent e8f7f8d commit 9faf1b3

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/socket.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ void CSocket::Init ( const quint16 iNewPortNumber, const quint16 iNewQosNumber,
137137
#endif
138138

139139
#if !defined( Q_OS_BSD4 ) && !defined( Q_OS_WIN )
140-
// set the QoS for IPv4 as well, as this is a dual-protocol socket
140+
// set the QoS for IPv4 as well, as this is a dual-stack socket
141141
if ( setsockopt ( UdpSocket, IPPROTO_IP, IP_TOS, (const char*) &tos, sizeof ( tos ) ) == -1 )
142142
{
143143
throw CGenErr ( "request to set ToS for IPv4 over IPv6 failed", "Network Error" );
@@ -150,18 +150,18 @@ void CSocket::Init ( const quint16 iNewPortNumber, const quint16 iNewQosNumber,
150150

151151
UdpPort = &UdpSocketAddr.sa6.sin6_port; // where to put the port number
152152

153-
// FIXME: If binding a dual-protocol interface to a specific address, does it cease to be dual-protocol?
153+
// FIXME: If binding a dual-stack interface to a specific address, does it cease to be dual-stack?
154154

155-
// It is not possible to bind a dual-protocol socket to a specific address
155+
// It is not possible to bind a dual-stack socket to a specific address
156156
if ( !strServerBindIP.isEmpty() )
157157
{
158158
qWarning()
159-
<< "Option --serverbindip ignored: cannot be used on a dual-protocol IPv6/IPv4 socket. Please add --noipv6 to use IPv4 only.";
159+
<< "Option --serverbindip ignored: cannot be used on a dual-stack IPv6/IPv4 socket. Please add --noipv6 to use IPv4 only.";
160160
}
161161

162162
bIPv6Available = true; // this is a reference to CClient::bIPv6Available or CServer::bIPv6Available
163163

164-
qInfo() << "IPv6/IPv4 dual-protocol socket created";
164+
qInfo() << "IPv6/IPv4 dual-stack socket created";
165165
}
166166
}
167167

0 commit comments

Comments
 (0)