summaryrefslogtreecommitdiff
path: root/docs/tutorials/008/directed_client.cpp
diff options
context:
space:
mode:
authorjcej <jcej@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-01-28 00:08:26 +0000
committerjcej <jcej@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-01-28 00:08:26 +0000
commit522410463f72ebe7d91ebc154738c9e9431c58c9 (patch)
treeddff5f72faedd18262d8421f1c9dc6cd31cb582d /docs/tutorials/008/directed_client.cpp
parent5bdd3170dfd973f4a39d8dc0b351e401254d70ed (diff)
downloadATCD-522410463f72ebe7d91ebc154738c9e9431c58c9.tar.gz
*** empty log message ***
Diffstat (limited to 'docs/tutorials/008/directed_client.cpp')
-rw-r--r--docs/tutorials/008/directed_client.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/tutorials/008/directed_client.cpp b/docs/tutorials/008/directed_client.cpp
index 208ca249492..998aafa12db 100644
--- a/docs/tutorials/008/directed_client.cpp
+++ b/docs/tutorials/008/directed_client.cpp
@@ -22,10 +22,16 @@ static const u_short PORT = ACE_DEFAULT_SERVER_PORT;
int main(int argc,char *argv[] )
{
/*
- All datagrams have to have a point of origin. Since we intend to
+ All datagrams must have a point of origin. Since we intend to
transmit instead of receive, we initialize an address with zero
and let the OS choose a port for us. We could have chosen our
- own value between 1025 and 65535 as long as it isn't already in use.
+ own value between 1025 and 65535 as long as it isn't already in
+ use.
+
+ The biggest difference between client and server when datagrams
+ are used is the fact that servers tend to have a known/fixed
+ address at which they listen and clients tend to have arbitrary
+ addresses assigned by the OS.
*/
ACE_INET_Addr local((u_short)0);