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

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/p/y/pyroute2-HEAD/examples/push_pull_iocore.py   pyroute2(Download)
 
ioc2 = IOCore()
(uid, addr) = ioc2.connect('tcp://localhost:9824')
ioc2.connect('udp://localhost:9824')
port = ioc2.discover('push', addr)

src/p/y/pyroute2-HEAD/tests/test_messaging.py   pyroute2(Download)
    def setup(self):
        self.ioc1 = IOCore(secret='bala')
        self.ioc1.serve('tcp://localhost:9824')
        self.ioc2 = IOCore()
        self.host = self.ioc2.connect('tcp://localhost:9824')