Sending Data to Python From UE4 via TCP or UDP, partial success requesting help

Well I take it back. I was able to send and receive using TCP but read that UDP is preferable for networked games so I rewrote my code to use UDP. Thing is, I can’t get data back from my server running python. When I move everything to run on my local machine data transmittal works both to python and back. I am not sure how to post the code all fancy like but I will try.