NetFlow packets

Hello

I want to capture NetFlow packets that was sent by fprobe.
The fprobe is on my local machine and it send packets to 127.0.0.1:2055 via UDP.
So, I have wrote program which open 2055 port (UDP) for any host (0.0.0.0) and do recvfrom. When I print (printf("%c", buf);) buffer it print empty string.

Also I have tried to print each element of buffer:
1
2
3
for(int i = 0; i < BUFSIZE; i++) {
    printf("%c", buf[i]);
}

it show:
>��H��uvP�...

So, how can I decode or I don't know, in short how can I read the packet information?

Thanks
Topic archived. No new replies allowed.