In re: the socket() thing...
I remember getting into something (forget what) back in the early 90's,
writing something (again, I forget what) and realizing what I needed to
do to open a socket to a remote endpoint.
I remember thinking "wait, I can't just open("hostname:port", O_TCP);
???"
And, horror of all horrors, I need to deal with little/big endian
things? ntohs(), htons(), et al?
jeez...
:)
art k.