Re: printf



Shane wrote:
Ian Collins wrote:

Shane wrote:
As far as I can tell the exact format of the data is bits, which, once I
can see them, I am going to convert to something meaningful.

Unless you know what the format is, how can you convert the data?


Im missing something in the translation.

The data is binary. Its a dump of a packet as received at eth0
Once I can see the ones and zeros I can sort out the structure.

Then as other have suggested, dump it as hex. Or better still, use a
decent packet snooper to log and dump the data.

--
Ian Collins.
.



Relevant Pages

  • Re: printf
    ... Shane wrote: ... Unless you know what the format is, how can you convert the data? ... dump it as hex. ... decent packet snooper to log and dump the data. ...
    (comp.lang.c)
  • Re: Binary to ASCII
    ... >> I refered to the Backup Layouts as all tapes involved. ... that the only information stored in "Binary" format are integers. ... > octal dump) that you can use to dump the contents of an unformatted file ...
    (comp.lang.fortran)
  • Re: Autonumber problem
    ... Actually I was using two indexes before but still using the format. ... dump, it's just that it starts the dump at a much higher number and goes on ... > your index to be a multi-field unique index based on the year value and the ... I also have an autonumber field in the second DB ...
    (microsoft.public.access.queries)
  • Re: Desktop recorders?
    ... and then dump to image, and then encode using ffmpeg to get to ... whatever format you'd like. ...
    (Ubuntu)
  • Re: [RFC PATCH] kbuild support for %.symtypes files
    ... dump format is the name of the type defined, ... So I went on and updated your patch to spit out something ... The list_head struct looks like this now: ... and constructing dependency graphs from the dump files would ...
    (Linux-Kernel)