summaryrefslogtreecommitdiff
path: root/ACE/examples/Connection/non_blocking/README
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-24 15:50:30 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-24 15:50:30 +0000
commit7a52d43a162b23d9e85e7b955e9b2c8e9caf550e (patch)
tree66a84b20d47f2269d8bdc6e0323f338763424d3a /ACE/examples/Connection/non_blocking/README
parent0e49389337be86641451a5c36c24bf742fe97523 (diff)
downloadATCD-7a52d43a162b23d9e85e7b955e9b2c8e9caf550e.tar.gz
Repo restructuring
Diffstat (limited to 'ACE/examples/Connection/non_blocking/README')
-rw-r--r--ACE/examples/Connection/non_blocking/README28
1 files changed, 28 insertions, 0 deletions
diff --git a/ACE/examples/Connection/non_blocking/README b/ACE/examples/Connection/non_blocking/README
new file mode 100644
index 00000000000..74c44fe6de7
--- /dev/null
+++ b/ACE/examples/Connection/non_blocking/README
@@ -0,0 +1,28 @@
+This code illustrates how to write a single set of source code (for a
+client and server) and then parameterize in the desired IPC mechanism.
+In this case, the IPC mechanisms include sockets, TLI, and STREAM
+pipes. The single set of source code is located in CPP-acceptor.cpp
+(which is the server) and CPP-connector.cpp (which is the non-blocking
+client).
+
+Here's how I typically run these tests:
+
+% test_sock_acceptor localhost:10020 &
+starting up daemon ./test_sock_acceptor
+starting server addr 127.0.0.1:10020 on handle 5
+client addr 127.0.0.1:10003 on handle 6
+hello
+
+% test_sock_connector localhost:10020
+starting up daemon ./test_sock_connector
+activating 5
+in handle_output
+please enter input..: hello
+in handle_output
+
+There are a number of other options that you can provide. Please see
+the source code for details.
+
+Note that only the sock tests work on all platforms. The other tests
+reply on features (in particular, non-blocking connections and TLI)
+that are mostly found on UNIX platforms.