Winsock Options Sample
The opttest sample application illustrates the use of the Windows CE–based Bluetooth stack Winsock getsockopt and setsockopt programming interfaces.
The compiled sample generates an Opttest.exe application that can be started as a server or client. When started as a server, it creates a socket and goes into accept loop mode. When started as a client, it takes a Bluetooth device address and connects to it. Once a connection is established, users can exchange text messages or files.
Users can specify particular options on created sockets. For example, connections can negotiate MTU, or be authenticated or encrypted before or after a connection is established.
To view supported command line options use OPTTEST /?
. When a connection is established, the application displays supported commands.
Sample Location
%_WINCEROOT%\Public\Common\Oak\Drivers\Bluetooth\Sample\Fctest
**Note **This sample application has not been thoroughly tested and is not intended for production use.
See Also
Last updated on Thursday, April 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.