the port in TServerSocket's constructor should be passed by keyword; the first positional param is actually the hostname
Reviewed By: dreiss
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1333163 13f79535-47bb-0310-9956-
ffa450edef68
handler = CalculatorHandler()
processor = Calculator.Processor(handler)
-transport = TSocket.TServerSocket(9090)
+transport = TSocket.TServerSocket(port=9090)
tfactory = TTransport.TBufferedTransportFactory()
pfactory = TBinaryProtocol.TBinaryProtocolFactory()