Ports are objects, such as open files, from which characters can be read or written in sequence.
A read on an input port may yield, instead of a character, an eof-object, indicating that no characters are available. Ports are distinguished by whether they are for reading, writing, or both. Flush buffered output from all ports or from port , if specified. Low-level File Port Operations Go to the first , previous , next , last section, table of contents .