Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

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

Definition at line 245 of file PracticalSocket.cpp.

00246                            : CommunicatingSocket(SOCK_STREAM, IPPROTO_TCP) {
00247   connect(foreignAddress, foreignPort);
00248 }


Generated on Fri Mar 19 10:32:56 2010 for ImpalaSrc by  doxygen 1.5.1