Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/network/socket/qtcpserver.cpp

    r651 r769  
    7979    use waitForNewConnection(), which blocks until either a
    8080    connection is available or a timeout expires.
     81
     82    \section1 Symbian Platform Security Requirements
     83
     84    On Symbian, processes which use this class must have the
     85    \c NetworkServices platform security capability. If the client
     86    process lacks this capability, it will lead to a panic.
     87
     88    Platform security capabilities are added via the
     89    \l{qmake-variable-reference.html#target-capability}{TARGET.CAPABILITY}
     90    qmake variable.
    8191
    8292    \sa QTcpSocket, {Fortune Server Example}, {Threaded Fortune Server Example},
     
    514524    connections.
    515525
     526    \note The returned QTcpSocket object cannot be used from another
     527    thread. If you want to use an incoming connection from another thread,
     528    you need to override incomingConnection().
     529
    516530    \sa hasPendingConnections()
    517531*/
     
    543557    may not be usable with native socket functions, and should only be
    544558    used with QTcpSocket::setSocketDescriptor().
     559
     560    \note If you want to handle an incoming connection as a new QTcpSocket
     561    object in another thread you have to pass the socketDescriptor
     562    to the other thread and create the QTcpSocket object there and
     563    use its setSocketDescriptor() method.
    545564
    546565    \sa newConnection(), nextPendingConnection()
Note: See TracChangeset for help on using the changeset viewer.