Discussion:
error: invalid conversion from `u_int8_t*' to `char*'
Ray Reynolds
2004-11-22 10:03:18 UTC
Permalink
Hi,
I have been trying to run sample code from libnet 1.1.2.1 from packetfactory.net and have been getting this annoying error when using the command( :

[***@localhost sample]$ g++ dns.c -o dns
dns.c: In function `int main(int, char**)':
dns.c:130: error: invalid conversion from `u_int8_t*' to `char*'

any help would be greatly appreciated , thanx in advance

R&R

Loading...