class QBtObjectExchangeServerPrivate;
} else { HEADERS += Connection/ObjectExchange/Server/QBtObjectExchangeServer_stub.h \ LocalDevice/QBtLocalDevice_stub.h \ Connection/ObjectExchange/Client/QBtObjectExchangeClient_stub.h \ Connection/SerialPort/Client/QBtSerialPortClient_stub.h \ Connection/SerialPort/Server/QBtSerialPortServer_stub.h \ ServiceAdvertiser/QBtServiceAdvertiser_stub.h \ ServiceDiscoverer/QBtServiceDiscoverer_stub.h \ DeviceDiscoverer/QBtDeviceDiscoverer_stub.h SOURCES += Connection/ObjectExchange/Server/Impl/QBtObjectExchangeServer_stub.cpp \ LocalDevice/Impl/QBtLocalDevice_stub.cpp \ Connection/ObjectExchange/Client/Impl/QBtObjectExchangeClient_stub.cpp \ Connection/SerialPort/Client/Impl/QBtSerialPortClient_stub.cpp \ Connection/SerialPort/Server/Impl/QBtSerialPortServer_stub.cpp \ ServiceAdvertiser/Impl/QBtServiceAdvertiser_stub.cpp \ ServiceDiscoverer/Impl/QBtServiceDiscoverer_stub.cpp \ DeviceDiscoverer/Impl/QBtDeviceDiscoverer_stub.cpp }
Bluetooth and socketThe socket function creates a socket for incoming or outgoing connections.:To create a socket using Bluetooth, use the following settings:The af parameter of the socket function is always set to AF_BTH for Bluetooth sockets. The type parameter of the socket function is always SOCK_STREAM; SOCK_DGRAM sockets are not supported by Bluetooth. For the protocol parameter, BTHPROTO_RFCOMM is the supported protocol. For more information, see the Windows Sockets documentation in the Platform SDK.