views:

30

answers:

1

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.

+1  A: 

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.

thesp0nge