mirror of
https://github.com/KevinMidboe/Node-Com-Handler.git
synced 2025-12-08 20:38:52 +00:00
Major cleanup, added all old files (python2) to 'old_v0.1' folder
This commit is contained in:
14
old_v0.1/plexLoop.py
Normal file
14
old_v0.1/plexLoop.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from socket import *
|
||||
from time import sleep
|
||||
|
||||
host = '10.0.0.41'
|
||||
port = 12000
|
||||
|
||||
clientSocket = socket(AF_INET, SOCK_DGRAM)
|
||||
|
||||
clientSocket.sendto('plex', (host, port))
|
||||
message, address = clientSocket.recvfrom(1024)
|
||||
print message
|
||||
|
||||
|
||||
clientSocket.close()
|
||||
Reference in New Issue
Block a user