inquam
inquam

Reputation: 12942

Forgin/Buiilding TCP packets in ANSI C

How do I, without using third-party tools, craft TCP (and even UDP for that matter) packets in ANSI C? I want to be able to set all option flags, source ip address etc. So full control. Haven't found any good text about it online. Or I'm just using the wrong search criteria.

Upvotes: 3

Views: 428

Answers (1)

Paolo Perego
Paolo Perego

Reputation: 403

When I started cooking raw sockets on my own, I found Beej's guide to network programming as valuable as venerable Stevens "TCP/IP Illustrated" books serie.

Upvotes: 3

Related Questions