$treeview $search $mathjax $extrastylesheet
otsdaq  v2_03_00
$projectbrief
$projectbrief
$searchbox

ots::NetworkDevice Class Reference

List of all members.

Public Member Functions

 NetworkDevice (std::string IPAddress, unsigned int port)
int initSocket (std::string socketPort="")
int initSocket (unsigned int socketPort)
int ping (int socketDescriptor)
int send (int socketDescriptor, const std::string &msg)
int receive (int socketDescriptor, std::string &msg)
int listen (int socketDescriptor, std::string &msg)
std::string getFullIPAddress (std::string partialIpAddress)
std::string getInterfaceName (std::string ipAddress)
std::string getMacAddress (std::string interfaceName)

Protected Types

enum  { maxSocketSize = 65536 }

Protected Attributes

struct sockaddr_in deviceAddress_
std::map< int, int > openSockets_

Detailed Description

Definition at line 12 of file NetworkDevice.h.


The documentation for this class was generated from the following files:

Generated on 14 Mar 2019 for otsdaq by  doxygen 1.6.1