/demos/trunk/newtrace/utils/udpdump.c |
54,6 → 54,7 |
int sd, rc, n, cliLen; |
struct sockaddr_in cliAddr, servAddr; |
char msg[MAX_MSG]; |
char ch; |
|
struct tracer_udp_header *pkt_head = (struct tracer_udp_header *)(msg); |
|
71,7 → 72,7 |
|
output_file = fopen(argv[1],"w+b"); |
if (output_file == NULL) { |
printf("%s: Cannot open the file\n",argv[0]); |
printf("%s: Cannot open the file\n"); |
exit(1); |
} |
|
/demos/trunk/newtrace/readme |
3,9 → 3,6 |
|
Here a short description of the contents |
|
utils - some small utilities: |
|
udpdump - save on a file the logged events sent through network |
|
utils - some small utilities that can read tracer files |
udp - a small application that sends its trace data through the network |
|