Hi, pals! I want to use libpcap to change the content of a package. (the content of a HTML page of a TCP package) The framework of the program I am using is taken from sniffer.c supplied at http://www.tcpdump.org/sniffer.c.
My trouble is the function void got_packet(u_char *args, const struct pcap_pkthdr *header, const u_char *packet) takes the package as a const variable, so I can not change the content of a const variable. Do you have some ideas about how to change the content of a package in my case? (I simply want to change a string in HTML page.) Best regards, George Ma - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe