Searched refs:socketServer (Results 1 – 1 of 1) sorted by relevance
464 int socketServer; in SDPServerThread() local471 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()