#include <PracticalSocket.h>
Inheritance diagram for TCPSocket:
Public Member Functions | |
TCPSocket () throw (SocketException) | |
TCPSocket (const string &foreignAddress, unsigned short foreignPort) throw (SocketException) | |
Private Member Functions | |
TCPSocket (int newConnSD) | |
Friends | |
class | TCPServerSocket |
TCPSocket::TCPSocket | ( | ) | throw (SocketException) |
Construct a TCP socket with no connection
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
foreignAddress | foreign address (IP address or name) | |
foreignPort | foreign port |
SocketException | thrown if unable to create TCP socket |
TCPSocket::TCPSocket | ( | int | newConnSD | ) | [private] |
friend class TCPServerSocket [friend] |