4.115
Last change
on this file since 55658c6 was
25b957c1,
checked in by Joel Sherrill <joel.sherrill@…>, on 01/27/03 at 23:30:53
|
2003-01-27 Joel Sherrill <joel@…>
- Makefile.am, configure.ac: Added new test loopback which shows how to
use the loopback interface. Thank you Eric Norum for a portable
target independent test which exercises the TCP/IP. This should
prevent massive failures in the TCP/IP stack from reaching the
street.
- loopback/.cvsignore, loopback/Makefile.am, loopback/README,
loopback/init.c, loopback/loopback.scn: New files.
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Line | |
---|
1 | "Network" initializing! |
---|
2 | "Network" initialized! |
---|
3 | Try running client with no server present. |
---|
4 | Should fail with `connection refused'. |
---|
5 | Connect to server. |
---|
6 | Can't connect to server: Connection refused |
---|
7 | Client closing connection. |
---|
8 | |
---|
9 | Start server. |
---|
10 | |
---|
11 | Try running client with server present. |
---|
12 | Create socket. |
---|
13 | Connect to server. |
---|
14 | Bind socket. |
---|
15 | Can't connect to server: Connection refused |
---|
16 | Client closing connection. |
---|
17 | Client task terminating. |
---|
18 | |
---|
19 | Try running two clients. |
---|
20 | Connect to server. |
---|
21 | Connect to server. |
---|
22 | ACCEPTED:7F000001 |
---|
23 | ACCEPTED:7F000001 |
---|
24 | Write 22-byte message to server. |
---|
25 | Write 22-byte message to server. |
---|
26 | Read 43 from server: Server received 22 (Hi there, server (2).) |
---|
27 | Read 43 from server: Server received 22 (Hi there, server (3).) |
---|
28 | Client closing connection. |
---|
29 | Client task terminating. |
---|
30 | Worker task terminating. |
---|
31 | Client closing connection. |
---|
32 | Client task terminating. |
---|
33 | Worker task terminating. |
---|
34 | |
---|
35 | Try running three clients. |
---|
36 | Connect to server. |
---|
37 | Connect to server. |
---|
38 | Connect to server. |
---|
39 | ACCEPTED:7F000001 |
---|
40 | ACCEPTED:7F000001 |
---|
41 | ACCEPTED:7F000001 |
---|
42 | Write 22-byte message to server. |
---|
43 | Write 22-byte message to server. |
---|
44 | Write 22-byte message to server. |
---|
45 | Read 43 from server: Server received 22 (Hi there, server (4).) |
---|
46 | Read 43 from server: Server received 22 (Hi there, server (5).) |
---|
47 | Read 43 from server: Server received 22 (Hi there, server (6).) |
---|
48 | Client closing connection. |
---|
49 | Client task terminating. |
---|
50 | Worker task terminating. |
---|
51 | Client closing connection. |
---|
52 | Client task terminating. |
---|
53 | Worker task terminating. |
---|
54 | Client closing connection. |
---|
55 | Client task terminating. |
---|
56 | Worker task terminating. |
---|
Note: See
TracBrowser
for help on using the repository browser.