source: rtems/testsuites/samples/loopback/README @ 51a95ff9

4.115
Last change on this file since 51a95ff9 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1Simple test of kernel network code.
2Requires no network hardware since only the loopback network address is used.
3
4Output should look like:
5========================================================================
6"Network" initializing!
7"Network" initialized!
8Try running client with no server present.
9Should fail with `connection refused'.
10Connect to server.
11Can't connect to server: Connection refused
12Client closing connection.
13
14Start server.
15
16Try running client with server present.
17Create socket.
18Connect to server.
19Bind socket.
20Can't connect to server: Connection refused
21Client closing connection.
22Client task terminating.
23
24Try running two clients.
25Connect to server.
26Connect to server.
27ACCEPTED:7F000001
28ACCEPTED:7F000001
29Write 22-byte message to server.
30Write 22-byte message to server.
31Read 43 from server: Server received 22 (Hi there, server (2).)
32Read 43 from server: Server received 22 (Hi there, server (3).)
33Client closing connection.
34Client task terminating.
35Worker task terminating.
36Client closing connection.
37Client task terminating.
38Worker task terminating.
39
40Try running three clients.
41Connect to server.
42Connect to server.
43Connect to server.
44ACCEPTED:7F000001
45ACCEPTED:7F000001
46ACCEPTED:7F000001
47Write 22-byte message to server.
48Write 22-byte message to server.
49Write 22-byte message to server.
50Read 43 from server: Server received 22 (Hi there, server (4).)
51Read 43 from server: Server received 22 (Hi there, server (5).)
52Read 43 from server: Server received 22 (Hi there, server (6).)
53Client closing connection.
54Client task terminating.
55Worker task terminating.
56Client closing connection.
57Client task terminating.
58Worker task terminating.
59Client closing connection.
60Client task terminating.
61Worker task terminating.
Note: See TracBrowser for help on using the repository browser.