1. Martin Thorsen Ranang
  2. orbited


heya...@fe34127c-c842-0410-aa83-9fc675b9a81c  committed 2c49b1f

updated echo to use csp.twisted.port instead of csp.port

  • Participants
  • Parent commits f360237
  • Branches 0.8

Comments (0)

Files changed (1)

File daemon/orbited/echo.py

View file
 from twisted.internet import reactor, protocol
-from csp.port import CometPort
+from csp.twisted.port import CometPort
 class Echo(protocol.Protocol):
     def dataReceived(self, data):
     protocol = Echo
 if __name__ == "__main__":
-    print "echo listening on CSP@8050"
-    reactor.listenWith(CometPort, port=8050, factory=EchoFactory())
+    print "echo listening on CSP@8000"
+    reactor.listenWith(CometPort, port=8000, factory=EchoFactory())