Example #1
0
 def accept(self):
     clientfd, addr, port = bt.accept(self._sockfd)
     client = BluetoothSocket(self._proto, sockfd=clientfd)
     return client, (addr, port)
Example #2
0
 def accept (self):
     clientfd, addr, port = bt.accept (self._sockfd)
     client = BluetoothSocket (self._proto, sockfd=clientfd)
     return client, (addr, port)