sock

This is Richard Stevens's "sock" TCP/UDP utility code, as modified by Christian Kreibich. It is a available under an educational-use-only license.