As I said, it's almost identical to how you already did it when the robot was acting as a server. There are a few details to change, but the EKI manual details this pretty well. What specifically are you having trouble with?
My trouble is how to send the .XML file to robot via TCP/IP with Python. Because I want to send a variable or integer from server to Robot Controller.
Thankyou