| 1 |
|
| 2 |
|
| 3 |
This example illustrates the use of the ACE_IOStream and |
| 4 |
ACE_Streambuf_T templates to create an object based on ACE_*_Stream |
| 5 |
classes. These classes provide C++ iostream functionality across a |
| 6 |
socket. |
| 7 |
|
| 8 |
To run the tests simply build the executables in the client and server |
| 9 |
directories and then do the following in separate windows: |
| 10 |
|
| 11 |
# Window 1 |
| 12 |
% server/iostream_server |
| 13 |
(10049) starting up daemon |
| 14 |
|
| 15 |
# Window 2 |
| 16 |
% client/iostream_client |
| 17 |
(10049) starting handler 456d0 |
| 18 |
(10049) Client sent: |
| 19 |
(1) (2.3) |
| 20 |
(10051) Server sent: |
| 21 |
(1) (2.3) |
| 22 |
(10049) connection closed |
| 23 |
(10049) shutting down handler 456d0 |
| 24 |
(10049) shutting down server daemon |