establish network connection to localhost
This commit is contained in:
commit
d75885670f
12
Pipfile
Normal file
12
Pipfile
Normal 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"
|
6
src/viewer.py
Normal file
6
src/viewer.py
Normal file
@ -0,0 +1,6 @@
|
||||
import socket
|
||||
|
||||
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
sock.connect(("127.0.0.1", 64999))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user