MCPcopy Create free account
hub / github.com/SHAILAB-IPEC/OpenFly-Platform / accept_connection

Method accept_connection

scripts/sim/gs_bridge.py:130–133  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

128 print(f"Listening on {host}:{port}")
129
130 def accept_connection(self):
131 conn, addr = self.server_socket.accept()
132 print(f"Connected by {addr}")
133 return conn
134
135 def receive_pose(self, conn):
136 data = conn.recv(1024).decode()

Callers 1

handle_plannerFunction · 0.95

Calls 1

acceptMethod · 0.45

Tested by

no test coverage detected