| Did you know ... | Search Documentation: |
| Send methods |
->newline, stream->append_line
and stream->format.|int]
<-input_message.\n’, splitting the input into
physical lines. See stream<-record_separator.
Class stream is designed to share code between class socket and class process. It may be used for other interaction, but all such application of this class is as yet unsupported.
->close_input
and stream->close_output.append mode, using Prolog's stream
primitives to send data to an XPCE stream. For example:
open(Socket, append, Stream), format(Socket, 'Hello World~n', []), close(Stream).
Note: streams cannot be opened in mode write as they
lack the required source_sink->truncate_as_file
method.