1TIPC-PIPE(1) General Commands Manual TIPC-PIPE(1)
2
3
4
6 tipc-PIPE - simple client/server
7
9 tipc-pipe <options> [address 1] [address 2]
10
11
13 tipc-pipe acts as a netcat like program for tipc. It is used for read‐
14 ing and writing network connections using tipc
15
16
17 Options
18 default values are marked with '*'
19
20
21 -h | --help
22 show this help
23
24
25 -l run in server mode, accept multiple connections
26
27
28 -s run in single connection server mode, exit on connection close
29 default mode is client mode
30
31
32 --sock_type *SOCK_STREAM | SOCK_DGRAM | SOCK_RDM | SOCK_SEQPACKET
33
34
35 --server_type *1000|<n>
36
37
38 --addr_type TIPC_ADDR_NAMESEQ | TIPC_ADDR_MCAST | *TIPC_ADDR_NAME
39 For TIPC_ADDR_NAME only address 1 is used. For TIPC_ADDR_NAME‐
40 SEQ or TIPC_ADDR_MCAST address 1 and address 2 are used.
41
42
43 --delay *0|<ms>
44 Defines data reading and writing delay in ms.
45
46
47 --data_num *0|<count>
48 Generates defined number of sample data and sends is.
49
50
51 --data_size *0
52 Generates packets of defined size when data_num is defined.
53
54
55 --data_check
56 Check sequence numbers in received data, generated with option
57 data_num.
58
59
60 --buf_size *66000|<n>
61 I/O buffer size (see TIPC_MAX_USER_MSG_SIZE).
62
63
64 --wait_peer *0
65 Wait for peer published state before communication.
66
67
68 --top run topology client
69
70
71 --replay
72 force connectionless server send input to last connected client
73
74
75 Short Options
76 --rdm sock_type = SOCK_RDM
77
78
79 --pct sock_type = SOCK_PACKET
80
81
82 --stm * sock_type = SOCK_STREAM
83
84
85 --sqp sock_type = SOCK_SEQPACKET
86
87
88 --nam * addr_type = TIPC_ADDR_NAME
89
90
91 --mc addr_type = TIPC_ADDR_MCAST or TIPC_ADDR_NAMESEQ
92
93
94 --id addr_type = TIPC_ADDR_ID
95
96
98 SOCK_STREAM single connection server with address zero and client:
99 tipc-pipe -s | tee input
100 date | tipc-pipe
101
102 SOCK_RDM server with address 123 and client:
103 tipc-pipe --rdm --replay -l 123
104 tipc-pipe --rdm 123
105
106 Start topology client for all addresses of specified optional server
107 type
108 tipc-pipe --server_type=1000 --top -- 0 -1
109
110
111
113 Constantine Shulyupin const@makelinux.com
114
115
117 Report ls bugs to tipc-discussion@lists.sourceforge.net
118
119
120
121 25 Jan 2013 TIPC-PIPE(1)