diff options
Diffstat (limited to 'examples/IPC_SAP/SOCK_SAP/README')
-rw-r--r-- | examples/IPC_SAP/SOCK_SAP/README | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/examples/IPC_SAP/SOCK_SAP/README b/examples/IPC_SAP/SOCK_SAP/README new file mode 100644 index 00000000000..3155575ddb1 --- /dev/null +++ b/examples/IPC_SAP/SOCK_SAP/README @@ -0,0 +1,35 @@ +This directory contains groups of client and server test programs that +exercise the various C++ wrappers for sockets. In general, the test +programs do more or less the same thing -- they transfer data from +client to the server. Unless noted differently, the server is +implemented as an "iterative server," i.e., it only deals with one +client at a time. The following describes each set of tests in more +detail: + + . C-inclient.cpp/C-inserver.cpp -- This is basically a C code + implementation that opens a connection to the server and + sends all the data from the stdin using Internet domain + sockets (i.e., TCP). + + . CPP-inclient.cpp/CPP-server.cpp -- This test is basically + a C++ wrapper version of the preceeding "C" test using + Internet domain sockets (i.e., TCP). + + . CPP-unclient.cpp/CPP-unserver.cpp -- This test is basically + a C++ wrapper version of the preceeding "C++" test using + UNIX domain sockets. + + . FD-unclient.cpp/FD-inclient.cpp -- This test illustrates + how to pass file descriptors between two processes on the + same machine using the ACE C++ wrappers for UNIX domain + sockets. + + . CPP-inserver-poll.cpp -- This test illustrates how to + write single-threaded concurrent servers using UNIX SVR4 + poll(). You can run this test using the CPP-inclient.cpp + program as the client. + +For examples of the ACE SOCK_{Dgram,CODgram} and +SOCK_Dgram_{Mcast,Bcast} wrappers, please take a look in the +./examples/Reactor/{Dgram,Multicast,Ntalker} directories. + |