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