예제 #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)