#!/usr/bin/env python
from PodSixNet.Connection import connection
def main():
# connect to the server - optionally pass hostname and port like: ("mccormick.cx", 31425)
connection.Connect("127.0.0.1", 9000)
print "Successfully connected to '127.0.1:9000'"
connection.Send({"action": "myaction", "blah": 123, "things": [3, 4, 3, 4, 7]})
connection.Pump()
print "Application returned."
return
if __name__ == "__main__":
main()