PlasCom2  1.0
XPACC Multi-physics simluation application
Client Class Reference

Detailed Description

Definition at line 101 of file NetUtils.H.

#include <NetUtils.H>

Public Member Functions

 Client ()
 
int & Descriptor ()
 
int Descriptor () const
 
struct sockaddr_in & ServerAddress ()
 
const struct sockaddr_in ServerAddresss () const
 
int Connect (const std::string &server_address, int port=0)
 
int Close ()
 
 ~Client ()
 

Private Attributes

int _descriptor
 
struct sockaddr_in _server_addy
 

Constructor & Destructor Documentation

◆ Client()

Client ( )
inline

Definition at line 107 of file NetUtils.H.

References Server::_server_addy.

◆ ~Client()

~Client ( )
inline

Definition at line 144 of file NetUtils.H.

Member Function Documentation

◆ Close()

int Close ( )
inline

Definition at line 143 of file NetUtils.H.

◆ Connect()

int Connect ( const std::string &  server_address,
int  port = 0 
)
inline

Definition at line 115 of file NetUtils.H.

References Server::_server_addy.

Referenced by ix::TestTCPInterface().

Here is the caller graph for this function:

◆ Descriptor() [1/2]

int& Descriptor ( )
inline

Definition at line 111 of file NetUtils.H.

Referenced by ix::TestTCPInterface().

Here is the caller graph for this function:

◆ Descriptor() [2/2]

int Descriptor ( ) const
inline

Definition at line 112 of file NetUtils.H.

◆ ServerAddress()

struct sockaddr_in& ServerAddress ( )
inline

Definition at line 113 of file NetUtils.H.

References Server::_server_addy.

◆ ServerAddresss()

const struct sockaddr_in ServerAddresss ( ) const
inline

Definition at line 114 of file NetUtils.H.

References Server::_server_addy.

Member Data Documentation

◆ _descriptor

int _descriptor
private

Definition at line 104 of file NetUtils.H.

◆ _server_addy

struct sockaddr_in _server_addy
private

Definition at line 105 of file NetUtils.H.


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