Trying to connect to thorlabs PM103E via TCPIP in python. The socket python package does not work ( MacOS with M2 running sequioia 15.4). It can connect, but never responds I used the vendor software to set the static IP of the device to 10.0.0.1, and specify no encryption for TCPIP subnet 255.255.255.0 I set the address of the USB-Ethernet dongle to 10.0.0.2 , subnet 255.255.255.0 Using Chrome, i can connect to a simple web portal and communicate. There is a text box for the password (THORlabs), with no button, and an entry box for command input. It will not enable command input without the correct password input, and will respond with incorrect password if the password is incorrect Using Safari, no matter what I put into the password box, it says wrong password. Similar to chrome, it does accept command input if a password is not entered I suspect this is why my python socket is not working?? Is there a way to send the password via socket? In the image, left is safari, right is chrome sending tuples through socket? import socket,time TCP_IP = '10.0.0.1' TCP_PORT = 5000 BUFFER_SIZE = 1024 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((TCP_IP, TCP_PORT)) s.settimeout(1) s.send(b'*IDN?') time.sleep(.1) data = s.recv(512) s.close() print(data) Continue reading...