Upravit

Sdílet prostřednictvím


Bluetooth and setsockopt

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

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

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

Windows Sockets

setsockopt