MCPcopy Create free account
hub / github.com/LabPy/lantz / loop

Method loop

lantz/drivers/legacy/rpc.py:711–714  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

709 self.sock.bind((self.host, self.port))
710
711 def loop(self):
712 self.sock.listen(0)
713 while 1:
714 self.session(self.sock.accept())
715
716 def session(self, connection):
717 sock, (host, port) = connection

Callers

nothing calls this directly

Calls 2

sessionMethod · 0.95
acceptMethod · 0.80

Tested by

no test coverage detected