Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
A simple-minded TCP socket-based logging receiver suitable for test
purposes.

src/p/r/prymatex-HEAD/prymatex/utils/logview/logview.py   prymatex(Download)
    def start_listeners(self):
        options = self.options
        if options:
            self.tcp_addr = get_addr(options.tcphost, DEFAULT_TCP_LOGGING_PORT)
        s = listeners.LoggingTCPServer(self.tcp_addr, self.on_record, 0.5)

src/l/o/logview-0.1/logview.py   logview(Download)
    def start_listeners(self):
        options = self.options
        if options:
            self.tcp_addr = get_addr(options.tcphost, DEFAULT_TCP_LOGGING_PORT)
        s = listeners.LoggingTCPServer(self.tcp_addr, self.on_record, 0.5)