-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
hi, I was using this gem for parsing and filtering pcap, then I came across a problem:
header = ::Pcap::Capture.open_dead(parser.datalink, parser.snaplen)
dumper = ::Pcap::Dumper.open(header, new_file)
#do some thing
#dump to new file
dumper.dump(pkt) if dumper
file_size = get_file_size(new_file) # file_size ----------> got 12kbbut, after this when I look at the file in the file system, it became 16 kb
So , my question is the dumper.dump() function is async ? If it is async, can I got complete event ?
Metadata
Metadata
Assignees
Labels
No labels