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