Bluetooth and getsockopt

Bluetooth uses the getsockopt function to query various parameters associated with the server channel or the connection. Use of getsockopt with Bluetooth has the following requirements:

  • The s parameter of getsockopt must be a valid Bluetooth socket.
  • The level parameter of getsockopt must be SOL_RFCOMM.

For a listing of available Bluetooth socket options, see Bluetooth and Socket Options.

Related topics

Windows Sockets