File: client.py

package info (click to toggle)
rpyc 6.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,324 kB
  • sloc: python: 6,442; makefile: 122
file content (12 lines) | stat: -rw-r--r-- 187 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env python3
import rpyc


def echo_once():
    conn = rpyc.connect("localhost", 18861)
    conn.root.echo("Echo")
    conn.close()


if __name__ == "__main__":
    echo_once()