Other
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved
//
// BTHCxnDemo.cpp - Simple Bluetooth application using Winsock 2.2 and RFCOMM protocol
//
//
// This example demonstrates how to use Winsock-2.2 APIs to connect
// between two remote bluetooth devices and transfer data between them.
// This example only supports address family of type AF_BTH,
// socket of type SOCK_STREAM, protocol of type BTHPROTO_RFCOMM.
//
// Once this source code is built, the resulting application can be
//
c++
蓝牙
示例
连接
No comment