establish network connection to localhost

This commit is contained in:
ktyl 2023-02-14 23:23:35 +00:00
commit d75885670f
3 changed files with 19 additions and 0 deletions

12
Pipfile Normal file
View File

@ -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"

1
README.md Normal file
View File

@ -0,0 +1 @@
`pipenv run python src/viewer.py` to run

6
src/viewer.py Normal file
View File

@ -0,0 +1,6 @@
import socket
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.connect(("127.0.0.1", 64999))