Learn R Programming

nanonext (version 0.5.4)

is_aio: Is Aio

Description

Is the object an Aio (sendAio or recvAio).

Usage

is_aio(x)

Value

Logical value TRUE or FALSE.

Arguments

x

an object.

Examples

Run this code
sock <- socket(listen = "inproc://isaio")
r <- recv_aio(sock)
s <- send_aio(sock, "test")

is_aio(r)
is_aio(s)

close(sock)

Run the code above in your browser using DataLab