http://www.perlmonks.org?node_id=18035


in reply to RE: Simple Construction of a RAW TCP/IP Packet.
in thread Simple Construction of a RAW TCP/IP Packet.

Definatly, and I have done a simple port scanner with this, with options found much like in the Nmap scanner, IE fin scans (set your fin bit to 1 in the code, and the syn bit to 0) and look for ACK/RST for closed ports. Having the ability to construct the headers the way you want has infinate uses, at least in my mind.