I am confused about SSIZE_MAX and read(2)/write(2). The POSIX SSIZE_MAX is something like 2^15 -1. This seems to be a real limitation when writing to a TCP/IP socket, as I learned from experience. However, much larger reads and writes seem to be possible to files and UNIX sockets (pipes). This makes me uneasy, given the warning in the man pages for read(2)/write(2).
Any insight on this topic would be appreciated. -- David J. Raymond [email protected] http://physics.nmt.edu/~raymond

