Main Page | Class List | File List | Class Members | File Members | Related Pages

X_SOCKET Class Reference

X_SOCKET - The class responsible for storing socket information. More...

#include <BTAPI.h>

List of all members.

Public Member Functions

 X_SOCKET ()
 X_SOCKET (const X_SOCKET &skt, bool val)
 A new copy constructor -Does not copy udt descriptor X_SOCKET ERROR or X_STAS instances.
 ~X_SOCKET ()
int get_socktype ()
 returns the current socktype
int find_mtu ()
 returns default value of 1500 as path MTU

Public Attributes

UDTSOCKET m_udt_socket
X_STATS m_socket_stats
X_SOCKET_ERRORS X_SOCKET_ERROR
int socktype
int mark
int mtu
bool nopmtud


Detailed Description

X_SOCKET - The class responsible for storing socket information.


Constructor & Destructor Documentation

X_SOCKET::X_SOCKET  )  [inline]
 

Constructor for class X_SOCKET()

X_SOCKET::X_SOCKET const X_SOCKET skt,
bool  val
[inline]
 

A new copy constructor -Does not copy udt descriptor X_SOCKET ERROR or X_STAS instances.

Parameters:
skt [in] Reference to the socket being copied
val [in] ignored - exists to differentiate between new copy constructor and default constructor

X_SOCKET::~X_SOCKET  )  [inline]
 


Member Function Documentation

int X_SOCKET::find_mtu  )  [inline]
 

returns default value of 1500 as path MTU

Todo:
to find the current path mtu
Returns:
path MTU

int X_SOCKET::get_socktype  )  [inline]
 

returns the current socktype

Returns:
the current socktype SOCK_STREAM or SOCK_DGRAM is returned


Member Data Documentation

X_STATS X_SOCKET::m_socket_stats
 

X_STATS instance part of X_SOCKET

UDTSOCKET X_SOCKET::m_udt_socket
 

The UDT Socket descriptor

int X_SOCKET::mark
 

used to store when the socket is marked

int X_SOCKET::mtu
 

variable to store the current MTU

bool X_SOCKET::nopmtud
 

true indicates No PMTUD false indicates PMTUD - default is false

int X_SOCKET::socktype
 

used to store the socktype

X_SOCKET_ERRORS X_SOCKET::X_SOCKET_ERROR
 

Stores error information particular to the socket Valid values are values of enum X_SOCKET_ERRORS


The documentation for this class was generated from the following file:
Generated on Thu Sep 1 09:07:29 2005 for BTAPI-KR ( Bulk Transport API KR) by  doxygen 1.4.3-20050530