By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,305 Members | 1,619 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,305 IT Pros & Developers. It's quick & easy.

generating network traffic using libnet.h

P: n/a
Hello,
could anyone tell me how I could get packets for a =
class like:

class packets {
public:
unsigned source; =20
unsigned destination; =20
char *packet_data; =20
};

packets *pack1 =3D get_packet();

Is there a function similar to this ( get_packet(); ) in libnet giving =
random packet sizes?
Thank you in advance.
< gp******@ee.duth.gr >
Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.