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

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
This method will read the next iNetX packet one by one. It will raise an IOError when it hits
the end of the file and n NoImplementedError when it hits packets that are not iNetx. It returns
the ip, udp and inetx packets

src/a/c/AcraNetwork-0.1/examples/pcap_monitor.py   AcraNetwork(Download)
                # So we loop through the file one packet at a time. This will eventually return an
                # exception at the end of file so handle that when it occurs
                (inetx_packet,ip_packet,udp_packet,packetseconds,bcutemp) = pcapfile.ReadNextPacket()
                # What string do we want outputted to the screen. The output format is defined in the coloredop class