diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-12-05 03:26:35 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-12-05 03:26:35 +0000 |
commit | 403943d59a8136672ed221c3ea61d7b1c548047d (patch) | |
tree | b8262407931d2abd44b2b3b22856bc516875a438 /examples | |
parent | a78d4af3f99b9e4f8282d144f9b858cf5d0868f9 (diff) | |
download | ATCD-403943d59a8136672ed221c3ea61d7b1c548047d.tar.gz |
added comment about VxWorks hard-coding of hostname
Diffstat (limited to 'examples')
-rw-r--r-- | examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp b/examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp index 3cec94a92e5..dfc752327b3 100644 --- a/examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp +++ b/examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp @@ -25,9 +25,14 @@ int main (int argc, char *argv[]) #if defined (VXWORKS) ACE_DEBUG ((LM_DEBUG, "starting connect\n")); +#if 1 // change this to 0 after hard-coding the hostname:port below + // The hostname is hardcoded because its inconvenient to pass + // command line arguments with VxWorks. fprintf (stderr, "CPP-inclient.cpp: you'll need to hard code the hostname:port on VxWorks!!!!\n"); +#endif /* 1 */ ACE_INET_Addr remote_addr ("<hard-coded hostname:10002"); + if (con.connect (cli_stream, remote_addr) == -1) #else ACE_DEBUG ((LM_DEBUG, "starting non-blocking connect\n")); |