vhdx.sockconn: Vectorised half-duplex socket communication

vhdx.sockconnR Documentation

Vectorised half-duplex socket communication

Description

Vectorises on text.

Usage

## S3 method for class 'sockconn'
vhdx(x, text, write.sep = "\n", write.useBytes = FALSE, timeout = NULL, ...)

Arguments

x

Socket connection.

text

Lines of text to write to the socket connection, a character vector. Writes all the lines before reading.

write.sep

Line separator written after every line of text, a character string defaulting to a single new-line character "\n".

write.useBytes

Suppresses re-encoding of marked strings.

timeout

Seconds to wait for ready socket, a numeric; or wait indefinitely, NULL.

...

Arguments passed on to hdx.sockconn

Details

Scans after every character string.

Examples

## Not run: 
vhdx(con, letters[1:3], write.sep = "", what = character())

## End(Not run)

royratcliffe/canny.tudor documentation built on Oct. 17, 2022, 4:17 a.m.