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

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

src/a/c/AcraNetwork-0.1/examples/pcap_monitor.py   AcraNetwork(Download)
 
                # What string do we want outputted to the screen. The output format is defined in the coloredop class
                outstring =colouredop.output_format.format(inetx_packet.streamid,ip_packet.srcip,inetx_packet.sequence,datetime.datetime.fromtimestamp(packetseconds).strftime('%H:%M:%S'))
                # Print out one line and the dropped packet info
                colouredop.PrintALine(outstring,inetx_packet.sequence,inetx_packet.streamid)