1RECHO(2) LAM REMOTE LIBRARY RECHO(2)
2
3
4
6 recho - Send messages to LAM echo server.
7
9 int recho (int node, char *src_msg, char *dest_msg, int length);
10
12 node location of echo service
13
14 src_msg outgoing message
15
16 dest_msg incoming echo message
17
18 length of both message buffers
19
21 The echo server returns any message that it receives to the sender. It
22 is a confidence testing service for the LAM network.
23
24 The message length must not exceed the maximum network message length
25 MAXNMSGLEN, defined in <net.h> and factory set to 8192 bytes.
26
28 Upon successful completion, the number of bytes echoed is returned. If
29 an error occurred, -1 is returned and the global variable errno is set
30 to indicate the error.
31
33 EMSGLEN The message length exceeds the maximum message length.
34
36 tping(1)
37
38
39
40LAM 7.1.2 March, 2006 RECHO(2)