MCPcopy Create free account
hub / github.com/qilingframework/qiling / client

Method client

tests/test_elf.py:811–817  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

809 return 0
810
811 def client():
812 # give time for the server to listen
813 time.sleep(3)
814 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
815 s.connect(("127.0.0.1", 8000))
816 s.send(b"hello world")
817 s.close()
818
819 rootfs = "../examples/rootfs/x8664_linux"
820 argv = r"../examples/rootfs/x8664_linux/bin/x8664_onestraw_server s".split() # s means 'server mode'

Callers

nothing calls this directly

Calls 4

socketMethod · 0.80
connectMethod · 0.45
sendMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected