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
I can't seem te get pixelPeek working. Am i doing something wrong?
import socket
import sys
import time
import binascii
def sendCommand(s, content):
print(content)
content += '\r\n' #important for the parser on the switch side
s.sendall(content.encode())
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(("192.168.178.75", 6000))
sendCommand(s, 'pixelPeek')
res = s.recv(512000)
print(sys.getsizeof(res))
f = open('test.jpeg', 'wb')
f.write(res)
f.close()
The text was updated successfully, but these errors were encountered:
I can't seem te get pixelPeek working. Am i doing something wrong?
The text was updated successfully, but these errors were encountered: