Scroll to navigation

TIPC-PIPE(1) General Commands Manual TIPC-PIPE(1)

NAME

tipc-PIPE - simple client/server

SYNOPSIS

tipc-pipe <options> [address 1] [address 2]

DESCRIPTION

tipc-pipe acts as a netcat like program for tipc. It is used for reading and writing network connections using tipc

Options

default values are marked with '*'

show this help

run in server mode, accept multiple connections

run in single connection server mode, exit on connection close default mode is client mode

For TIPC_ADDR_NAME only address 1 is used. For TIPC_ADDR_NAMESEQ or TIPC_ADDR_MCAST address 1 and address 2 are used.

Defines data reading and writing delay in ms.

Generates defined number of sample data and sends is.

Generates packets of defined size when data_num is defined.

Check sequence numbers in received data, generated with option data_num.

I/O buffer size (see TIPC_MAX_USER_MSG_SIZE).

Wait for peer published state before communication.

run topology client

force connectionless server send input to last connected client

Short Options

sock_type = SOCK_RDM

sock_type = SOCK_PACKET

* sock_type = SOCK_STREAM

sock_type = SOCK_SEQPACKET

* addr_type = TIPC_ADDR_NAME

addr_type = TIPC_ADDR_MCAST or TIPC_ADDR_NAMESEQ

addr_type = TIPC_ADDR_ID

EXAMPLES

SOCK_STREAM single connection server with address zero and client:
tipc-pipe -s | tee input
date | tipc-pipe

SOCK_RDM server with address 123 and client:
tipc-pipe --rdm --replay -l 123
tipc-pipe --rdm 123

Start topology client for all addresses of specified optional server type
tipc-pipe --server_type=1000 --top -- 0 -1

AUTHORS

Constantine Shulyupin const@makelinux.com

REPORTING BUGS

Report ls bugs to tipc-discussion@lists.sourceforge.net

25 Jan 2013