Hacker News new | ask | show | jobs
by tankenmate 292 days ago
Some GOSIP (remember that?) implementations on some Unicies did have files for network connections, but it was very much in the minority. Since BSD was the home of the first widely usable socket() implementations for TCP/IP it became the norm; sockets are a file, but just not linked to any filesystem and control is connect()/accept() and the networking equivalent (setsockopt()) of the Unix system call dumping ground; ioctl().
1 comments

I don't remember any of the ones I used having it, or then I missed it.

Kind of, sockets don't do seek().

Not all devices support seek either, they're still files; ENOSYS
Psst - don't tell().