TCPSocket Class Reference

#include <PracticalSocket.h>

Inheritance diagram for TCPSocket:

CommunicatingSocket Socket

List of all members.

Public Member Functions

 TCPSocket () throw (SocketException)
 TCPSocket (const string &foreignAddress, unsigned short foreignPort) throw (SocketException)

Private Member Functions

 TCPSocket (int newConnSD)

Friends

class TCPServerSocket


Detailed Description

TCP socket for communication with other TCP sockets

Constructor & Destructor Documentation

TCPSocket::TCPSocket (  )  throw (SocketException)

Construct a TCP socket with no connection

Exceptions:
SocketException thrown if unable to create TCP socket

TCPSocket::TCPSocket ( const string &  foreignAddress,
unsigned short  foreignPort 
) throw (SocketException)

Construct a TCP socket with a connection to the given foreign address and port

Parameters:
foreignAddress foreign address (IP address or name)
foreignPort foreign port
Exceptions:
SocketException thrown if unable to create TCP socket

TCPSocket::TCPSocket ( int  newConnSD  )  [private]


Friends And Related Function Documentation

friend class TCPServerSocket [friend]


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

Generated on Thu Sep 17 23:14:16 2009 for CSL by  doxygen 1.5.8