Memo to self: NSFileHandle is the Cocoa class for dealing with sockets

I’ve been delving into sockets recently. Egad, they can be very evil.
Especially the select() call.
I looked all over Cocoa documentation to find an easy way to deal with sockets, to no avail.

Today, while looking for a Cocoa way to do FindFolder, I run across NSFileHandle,
the doc for which mentions “Background Inter-Process Communication Using Sockets”.
Of.. course.
Sockets are handled by a FILE CLASS.

Arrrrrgh.