Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QBluetoothScoServer class represents a SCO server socket. More...
#include <QBluetoothScoServer>
Inherits QBluetoothAbstractServer.
The QBluetoothScoServer class represents a SCO server socket.
This class makes it possible to accept incoming SCO connections. Synchronous Connection Oriented connections are used to transfer audio data over a Bluetooth link. The audio data is usually compressed by a lossy codec and should not be used to transfer bulk data.
Call listen() to make the server listen for new connections. The newConnection() signal will be emmited each time a client connects to the server.
Call nextPendingConnection() to accept the pending client connection.
When listening for connections, server address is available by calling serverAddress().
Calling close() will make the QBluetoothScoServer stop listening for connections and delete all pending connections.
See also QBluetoothScoSocket.
Constructs a new QBluetoothScoServer with parent parent. The server is in the UnconnectedState.
Destroys the server.
Tells the server to listen for incoming connections on address local.
Returns true on success; otherwise returns false.
See also isListening().
Returns the address the server is currently listening on. If the server is not listening, returns QBluetoothAddress::invalid.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |