src/node/socket.h File Reference

#include "ns3/callback.h"
#include "ns3/ptr.h"
#include "ns3/tag.h"
#include "ns3/object.h"
#include "address.h"
#include <stdint.h>
Include dependency graph for socket.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ns3::Socket
 A low-level Socket API based loosely on the BSD Socket API.A few things to keep in mind about this type of socket:

  • it uses ns-3 API constructs such as class ns3::Address instead of C-style structs
  • in contrast to the original BSD socket API, this API is asynchronous: it does not contain blocking calls. Sending and receiving operations must make use of the callbacks provided.
  • It also uses class ns3::Packet as a fancy byte buffer, allowing data to be passed across the API using an ns-3 Packet instead of a raw data pointer.
  • Not all of the full POSIX sockets API is supported.
More...
class  ns3::SocketAddressTag
 This class implements a tag that carries an address of a packet across the socket interface. More...
class  ns3::SocketIpTtlTag
 This class implements a tag that carries the socket-specific TTL of a packet to the IP layer. More...
class  ns3::SocketSetDontFragmentTag
 indicated whether packets should be sent out with the DF flag set. More...

Namespaces

namespace  ns3
 

Every class exported by the ns3 library is enclosed in the ns3 namespace.


Generated on Thu Dec 3 14:08:41 2009 for NS-3 by  doxygen 1.6.3