@page GRAS_tut_tour_simpleexchange Lesson 2: Exchanging simple messages
\section GRAS_tut_tour_simpleexchange_toc Table of Contents
@page GRAS_tut_tour_simpleexchange Lesson 2: Exchanging simple messages
\section GRAS_tut_tour_simpleexchange_toc Table of Contents
- \ref GRAS_tut_tour_simpleexchange_socks
- \ref GRAS_tut_tour_simpleexchange_exchange
- \ref GRAS_tut_tour_simpleexchange_recaping
- \ref GRAS_tut_tour_simpleexchange_socks
- \ref GRAS_tut_tour_simpleexchange_exchange
- \ref GRAS_tut_tour_simpleexchange_recaping
\section GRAS_tut_tour_simpleexchange_recaping Recaping everything together
Here is the complete code of this example. Note the use of the functions
\section GRAS_tut_tour_simpleexchange_recaping Recaping everything together
Here is the complete code of this example. Note the use of the functions
-\ref gras_socket_my_port, \ref gras_socket_peer_name and \ref
-gras_socket_peer_port to retrieve information about who you are connected to.
+\ref xbt_socket_my_port, \ref xbt_socket_peer_name and \ref
+xbt_socket_peer_port to retrieve information about who you are connected to.
actually returns the port number of the <i>server</i> of the peer. This may
sound a bit strange to BSD experts, but it is actually really useful: you
can store this value, and contact your peer afterward passing this number to
actually returns the port number of the <i>server</i> of the peer. This may
sound a bit strange to BSD experts, but it is actually really useful: you
can store this value, and contact your peer afterward passing this number to