Name
send — Sends a message through a pipe
Synopsis
sendoutput pipe
msg
Description
The
send
command sends a message through an output
pipe.
Example
JXTA>pipeadv = mkadv -p
JXTA>outpipe = mkpipe -o pipeadv
JXTA>send outpipe msg
This
example creates a pipe advertisement (pipeadv
),
creates an output pipe (outpipe
), and sends the
message (msg
) through the pipe. The pipe
advertisement must be discovered by another peer and used to create
an input pipe in order for another peer to read the message.
Get JXTA in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.