I wrote a client and server side code in python for a controller. I used TCP as my communication protocol and also used the pygame library. My server side of the code works fine