Home
last modified time | relevance | path

Searched refs:socketServer (Results 1 – 1 of 1) sorted by relevance

/haiku/src/servers/bluetooth/
H A DBluetoothServer.cpp464 int socketServer; in SDPServerThread() local
471 socketServer = socket(PF_BLUETOOTH, SOCK_STREAM, BLUETOOTH_PROTO_L2CAP); in SDPServerThread()
473 if (socketServer < 0) { in SDPServerThread()
485 status = bind(socketServer, (struct sockaddr*)&loc_addr, in SDPServerThread()
497 status = listen(socketServer, 10); in SDPServerThread()
509 client = accept(socketServer, (struct sockaddr*)&loc_addr, &len); in SDPServerThread()
533 close(socketServer); in SDPServerThread()