TCPSocket Class Reference
#include <PracticalSocket.h>
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
Construct a TCP socket with no connection
- Exceptions:
-
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:
-
TCPSocket::TCPSocket |
( |
int |
newConnSD |
) |
[private] |
Friends And Related Function Documentation
The documentation for this class was generated from the following files: