Changeset 769 for trunk/src/network/socket/qtcpserver.cpp
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/src/network/socket/qtcpserver.cpp
r651 r769 79 79 use waitForNewConnection(), which blocks until either a 80 80 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. 81 91 82 92 \sa QTcpSocket, {Fortune Server Example}, {Threaded Fortune Server Example}, … … 514 524 connections. 515 525 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 516 530 \sa hasPendingConnections() 517 531 */ … … 543 557 may not be usable with native socket functions, and should only be 544 558 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. 545 564 546 565 \sa newConnection(), nextPendingConnection()
Note:
See TracChangeset
for help on using the changeset viewer.