View | Details | Raw Unified | Return to bug 1177
Collapse All | Expand All

(-)ns3.orig/ns-3.11/doc/manual/source/attributes.rst (-2 / +2 lines)
 Lines 767-774    Link Here 
767
767
768
    sudo apt-get install libgtk2.0-0 libgtk2.0-dev
768
    sudo apt-get install libgtk2.0-0 libgtk2.0-dev
769
769
770
To check whether it is configured or not, check the output of the
770
To check whether it is configured or not, check the output of the step:::
771
./waf configure --enable-examples --enable-tests step:::
771
./waf configure --enable-examples --enable-tests 
772
772
773
    ---- Summary of optional NS-3 features:
773
    ---- Summary of optional NS-3 features:
774
    Threading Primitives          : enabled
774
    Threading Primitives          : enabled
(-)ns3.orig/ns-3.11/src/click/doc/click.rst (-1 / +1 lines)
 Lines 118-124    Link Here 
118
   -> ToDump(out_arpquery,PER_NODE 1)
118
   -> ToDump(out_arpquery,PER_NODE 1)
119
   -> ethout;
119
   -> ethout;
120
120
121
...will print the contents of packets that flow out of the ArpQuerier, then generate a pcap trace file which will have a suffix 'out_arpquery', for each node using the Click file, before pushing packets onto 'ethout'.
121
and ...will print the contents of packets that flow out of the ArpQuerier, then generate a pcap trace file which will have a suffix 'out_arpquery', for each node using the Click file, before pushing packets onto 'ethout'.
122
122
123
Helper
123
Helper
124
======
124
======
(-)ns3.orig/ns-3.11/src/mpi/doc/distributed.rst (-1 / +1 lines)
 Lines 125-131    Link Here 
125
Ensure that MPI is enabled by checking the optional features shown from the
125
Ensure that MPI is enabled by checking the optional features shown from the
126
output of configure.
126
output of configure.
127
127
128
Next, build |ns3|:
128
Next, build |ns3|:::
129
129
130
    ./waf
130
    ./waf
131
131
(-)ns3.orig/ns-3.11/src/network/doc/sockets-api.rst (-9 / +9 lines)
 Lines 125-140    Link Here 
125
:cpp:func:`ns3::Socket::SetSendCallback` callback is invoked.  
125
:cpp:func:`ns3::Socket::SetSendCallback` callback is invoked.  
126
An application can also ask the socket how much space is available 
126
An application can also ask the socket how much space is available 
127
by calling :cpp:func:`ns3::Socket::GetTxAvailable`.  A typical sequence 
127
by calling :cpp:func:`ns3::Socket::GetTxAvailable`.  A typical sequence 
128
of events for sending data (ignoring connection setup) might be:
128
of events for sending data (ignoring connection setup) might be:::
129
129
130
* ``SetSendCallback (MakeCallback(&HandleSendCallback));``
130
    * ``SetSendCallback (MakeCallback(&HandleSendCallback));``
131
* ``Send ();``
131
    * ``Send ();``
132
* ``Send ();``
132
    * ``Send ();``
133
* ...
133
    * ...
134
* Send fails because buffer is full
134
    * Send fails because buffer is full
135
* wait until :cpp:func:`HandleSendCallback` is called
135
    * wait until :cpp:func:`HandleSendCallback` is called
136
* :cpp:func:`HandleSendCallback` is called by socket, since space now available
136
    * :cpp:func:`HandleSendCallback` is called by socket, since space now available
137
* ``Send (); // Start sending again``
137
    * ``Send (); // Start sending again``
138
138
139
Similarly, on the receive side, the socket user does not block on
139
Similarly, on the receive side, the socket user does not block on
140
a call to ``recv()``.  Instead, the application sets a callback
140
a call to ``recv()``.  Instead, the application sets a callback

Return to bug 1177