oaSocket Class Reference

Inheritance diagram for oaSocket:

oaClientSocket oaServerSocket


Public Methods

 oaSocket ()
 ~oaSocket ()
oaBoolean isOpen () const
oaSocketD getSocketD () const
oaUInt4 getPort () const
void setAddress (oaUInt4 sockAddr)
void setAddress (const char *address)
void setPort (oaUInt4 port)

Static Public Methods

void sendMsg (oaSocketD sd, oaUInt4 len, const char *msg)
oaUInt4 recvMsg (oaSocketD sd, oaUInt4 len, char *msg)
void close (oaSocketD sd)
void getHostName (oaString &hostName)

Static Protected Methods

void initialize ()
void finalize ()

Constructor & Destructor Documentation

oaSocket::oaSocket  
 

oaSocket::~oaSocket  
 


Member Function Documentation

void oaSocket::close oaSocketD    sd [static]
 

void oaSocket::finalize   [static, protected]
 

void oaSocket::getHostName oaString &    hostName [static]
 

oaUInt4 oaSocket::getPort   const
 

oaSocketD oaSocket::getSocketD   const [inline]
 

void oaSocket::initialize   [static, protected]
 

BEGIN_OA_NAMESPACE oaBoolean oaSocket::isOpen   const [inline]
 

oaUInt4 oaSocket::recvMsg oaSocketD    sd,
oaUInt4    len,
char *    msg
[static]
 

void oaSocket::sendMsg oaSocketD    sd,
oaUInt4    len,
const char *    msg
[static]
 

void oaSocket::setAddress const char *    address
 

void oaSocket::setAddress oaUInt4    sockAddr
 

void oaSocket::setPort oaUInt4    port
 


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

Return to top of page