commit d75885670f6d9065a62a2e602e05e571b4c588ab Author: ktyl Date: Tue Feb 14 23:23:35 2023 +0000 establish network connection to localhost diff --git a/Pipfile b/Pipfile new file mode 100644 index 0000000..29e023c --- /dev/null +++ b/Pipfile @@ -0,0 +1,12 @@ +[[source]] +url = "https://pypi.org/simple" +verify_ssl = true +name = "pypi" + +[packages] + +[dev-packages] + +[requires] +python_version = "3.10" +python_full_version = "3.10.9" diff --git a/README.md b/README.md new file mode 100644 index 0000000..6e4efba --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +`pipenv run python src/viewer.py` to run diff --git a/src/viewer.py b/src/viewer.py new file mode 100644 index 0000000..1a79703 --- /dev/null +++ b/src/viewer.py @@ -0,0 +1,6 @@ +import socket + +sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) +sock.connect(("127.0.0.1", 64999)) + +