This reminds me of W. Richard Stevens' sock(1) from his excellent UNIX Network Programming Volume 1 book. Well, not exactly, but.. PR: 23181 Submitted by: Joseph Scott <joseph@randomnetworks.com>