TCPSocket Class Reference
#include <PracticalSocket.h>
Inherits CommunicatingSocket.
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:
-
The documentation for this class was generated from the following file:
- /Users/alex/Projects/Platitude/PracticalSocket.h