Thank you Joe, that was the problem. I ran a test on my raspberry pi and windows laptop to make sure it wasn't my python code being the problem. I managed to connect to the PI and PC over sockets using ethernet IP. I did find out my IP to the PI was wrong though, two different IPs, one for the WI-FI and one for hard wired. By correcting that in the PLC program, it still didn't work, but coupled with the set as server change as you mentioned, it did. Makes no sense really since both are now configured as clients but if it works I really don't care.