nidas  v1.2-1520
Classes | Namespaces | Functions
McSocket.h File Reference
#include <nidas/Config.h>
#include "Socket.h"
#include "DatagramPacket.h"
#include "Thread.h"
#include "UTime.h"
#include <sys/select.h>
#include <list>
#include <unistd.h>
#include "Logger.h"
#include <memory>

Go to the source code of this file.

Classes

struct  nidas::util::McSocketData
 
class  nidas::util::McSocketDatagram
 Datagram that is multicast by a host when it wants a service. More...
 
class  nidas::util::McSocket< SocketT >
 A McSocket provides a way to establish a TCP stream socket connection, or a pair of UDP datagram sockets using a common port number. More...
 
class  nidas::util::McSocket< SocketT >
 A McSocket provides a way to establish a TCP stream socket connection, or a pair of UDP datagram sockets using a common port number. More...
 
class  nidas::util::McSocketListener
 Class for listening on McSocket requests on a specific multicast address and UDP port number. More...
 
class  nidas::util::McSocketMulticaster< SocketTT >
 Thread which is started by McSocket to multicast requests for connections. More...
 

Namespaces

 nidas
 Root namespace for the NCAR In-Situ Data Acquisition Software.
 
 nidas::util
 General utility classes. nidas::util contains classes of general utility, like Socket, Thread, etc. The classes use only the standard Unix system libraries and libstdc++, and have no dependency on other external packages such as an XML parser, or a logging package.
 

Functions

int nidas::util::getMcSocketType (McSocket< Socket > *)
 
int nidas::util::getMcSocketType (McSocket< DatagramSocket > *)
 
void nidas::util::listMulticastInterfaces (MulticastSocket *requestmsock, std::vector< Inet4NetworkInterface > &ifaces)