29 #ifndef TCP_UDP_Socket_base_h    30 #define TCP_UDP_Socket_base_h    32 #include "utility/actor/channel/Socket.h"    33 #include "utility/actor/channel/Channel.h"    49         struct sockaddr_in addr_in;
    54         struct sockaddr_in addr_in;
    57     socklen_type addrLength;
    61     bool endiannessProblem;
    63     unsigned int getPortNumber(
void) 
const;
    64     std::string getHostName(
void) 
const;
    65     virtual void checkForEndiannessProblem(
void);
    67     static void int2a(
unsigned int , 
char *, 
int *);
    68     void setup(
unsigned int , 
int );
 
static int getHostAddress(const std::string &, char *)
Is a static method to get the internet address of a host Takes machine name host & Returns 0 if o...
Definition: TCP_UDP_Socket_base.cc:143
static void int2a(unsigned int, char *, int *)
Static method to convert int to ascii. 
Definition: TCP_UDP_Socket_base.cc:150
TCP_UDP_Socket_base(int connectType=0, bool checkEndianness=false)
Constructor to open a socket with my inet_addr and with a port number port. 
Definition: TCP_UDP_Socket_base.cc:103
Channel is an abstract base class which defines the channel interface. 
Definition: Channel.h:92
Open source finite element program for structural analysis. 
Definition: ContinuaReprComponent.h:35
TCP_UDP_Socket_base is a sub-class of channel. 
Definition: TCP_UDP_Socket_base.h:40