OSDN Git Service

remove win leftovers
authorIvailo Monev <xakepa10@gmail.com>
Sat, 7 May 2022 18:22:54 +0000 (21:22 +0300)
committerIvailo Monev <xakepa10@gmail.com>
Sat, 7 May 2022 18:22:54 +0000 (21:22 +0300)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/network/socket/qlocalserver.cpp
src/network/socket/qlocalsocket.cpp

index 091f7d7..c384359 100644 (file)
@@ -173,18 +173,15 @@ bool QLocalServer::isListening() const
     Return true on success otherwise false.
 
     \a name can be a single name and QLocalServer will determine
-    the correct platform specific path.  serverName() will return
+    the correct platform specific path. serverName() will return
     the name that is passed into listen.
 
     Usually you would just pass in a name like "foo", but on Unix this
-    could also be a path such as "/tmp/foo" and on Windows this could
-    be a pipe path such as "\\\\.\\pipe\\foo"
+    could also be a path such as "/tmp/foo".
 
     Note:
     On Unix if the server crashes without closing listen will fail
-    with AddressInUseError.  To create a new server the file should be removed.
-    On Windows two local servers can listen to the same pipe at the same
-    time, but any connections will go to one of the server.
+    with AddressInUseError.
 
     \sa serverName(), isListening(), close()
  */
@@ -265,8 +262,7 @@ QLocalSocket *QLocalServer::nextPendingConnection()
     This function is meant to recover from a crash, when the previous server
     instance has not been cleaned up.
 
-    On Windows, this function does nothing; on Unix, it removes the socket file
-    given by \a name.
+    On Unix, this function removes the socket file given by \a name.
 
     \warning Be careful to avoid removing sockets of running instances.
 */
index daea72f..47613b2 100644 (file)
@@ -32,7 +32,7 @@ QT_BEGIN_NAMESPACE
 
     \brief The QLocalSocket class provides a local socket.
 
-    On Windows this is a named pipe and on Unix this is a local domain socket.
+    On Unix this is a local domain socket.
 
     If an error occurs, socketError() returns the type of error, and
     errorString() can be called to get a human readable description
@@ -43,9 +43,6 @@ QT_BEGIN_NAMESPACE
     waitForReadyRead(), waitForBytesWritten(), and waitForDisconnected()
     which blocks until the operation is complete or the timeout expires.
 
-    Note that this feature is not supported on versions of Windows earlier than
-    Windows XP.
-
     \sa QLocalServer
 */