示例#1
0
 def accept(self):
     clientfd, addr, port = bt.accept(self._sockfd)
     client = BluetoothSocket(self._proto, sockfd=clientfd)
     return client, (addr, port)
示例#2
0
文件: msbt.py 项目: EdwynZN/pybluez-1
 def accept (self):
     clientfd, addr, port = bt.accept (self._sockfd)
     client = BluetoothSocket (self._proto, sockfd=clientfd)
     return client, (addr, port)