Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

OSCAR::TCP Class Reference
[Communications]

This class contains base interface for TCP/IP communication. More...

#include <TCP.h>

Inheritance diagram for OSCAR::TCP:

Inheritance graph
[legend]
List of all members.

Public Methods

 TCP (unsigned short portNo, const String &_name=String(""))
 ~TCP ()
virtual int Initialize ()
int Disconnect ()
unsigned int GetPortNumber () const
SOCKET GetSocket () const

Protected Methods

int closeSocket (SOCKET sock)

Protected Attributes

unsigned short portNo
SOCKET Socket

Detailed Description


Constructor & Destructor Documentation

OSCAR::TCP::TCP unsigned short    portNo,
const String   _name = String("")
 

OSCAR::TCP::~TCP  
 


Member Function Documentation

int OSCAR::TCP::closeSocket SOCKET    sock [inline, protected]
 

int OSCAR::TCP::Disconnect  
 

Reimplemented in OSCAR::TCPServer.

unsigned int OSCAR::TCP::GetPortNumber   const [inline]
 

SOCKET OSCAR::TCP::GetSocket   const [inline]
 

virtual int OSCAR::TCP::Initialize   [virtual]
 

Reimplemented in OSCAR::TCPClient, and OSCAR::TCPServer.


Member Data Documentation

unsigned short OSCAR::TCP::portNo [protected]
 

SOCKET OSCAR::TCP::Socket [protected]
 


The documentation for this class was generated from the following file:
RRG Homepage OSCAR Overview OSCAR Tutorials Simulations