doc/manual/sockets.texi
changeset 4755 04a9a7e9a624
parent 4020 4fa0b1ed5240
child 5434 81a3858041a8
equal deleted inserted replaced
4754:77c878bc3e84 4755:04a9a7e9a624
   175 straightforward to support in ns-3; have applications call
   175 straightforward to support in ns-3; have applications call
   176 @code{Create<Packet> (size);} instead of @code{Create<Packet> (buffer, size);}.
   176 @code{Create<Packet> (size);} instead of @code{Create<Packet> (buffer, size);}.
   177 Similarly, passing in a zero to the pointer argument in the raw buffer
   177 Similarly, passing in a zero to the pointer argument in the raw buffer
   178 variants has the same effect.  Note that, if some subsequent code tries
   178 variants has the same effect.  Note that, if some subsequent code tries
   179 to read the Packet data buffer, the fake buffer will be converted to
   179 to read the Packet data buffer, the fake buffer will be converted to
   180 a real (zero'ed) buffer on the spot, and the efficiency will be lost there.
   180 a real (zeroed) buffer on the spot, and the efficiency will be lost there.
   181 
   181 
   182 @subsection Socket options
   182 @subsection Socket options
   183 
   183 
   184 @emph{to be completed}
   184 @emph{to be completed}
   185 
   185