Partager via


Bluetooth Functions

The following table shows the Bluetooth functions with a description of the purpose of each. These functions are actually Winsock functions. However, the information that is presented in them is specific to Bluetooth.

Programming element Description
accept (Bluetooth) This function permits an incoming connection attempt on a socket.
bind (Bluetooth) This function associates a local address with a socket.
connect (Bluetooth) This function establishes a connection to a specified socket.
getpeername (Bluetooth) This function retrieves the name of the peer to which a socket is connected.
getsockname (Bluetooth) This function retrieves the local name for a socket.
getsockopt (Bluetooth) This function retrieves a socket option.
setsockopt (Bluetooth) This function sets a socket option.
socket (Bluetooth) This function creates a socket that is bound to a specific service provider.
WSALookupServiceBegin (Bluetooth) This function initiates a client query that is constrained by the information contained within a WSAQUERYSET (Bluetooth) structure.
WSALookupServiceEnd (Bluetooth) This function frees the handle after previous calls to the WSALookupServiceBegin (Bluetooth) and WSALookupServiceNext (Bluetooth) functions.
WSALookupServiceNext (Bluetooth) This function retrieves the results of an SDP search.
WSASetService (Bluetooth) This function adds, updates, or removes service records from the local SDP database.

See Also

Bluetooth

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.