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

TCPServerSocket::TCPServerSocket ( const string &  localAddress,
unsigned short  localPort,
int  queueLen = 5 
) throw (SocketException)

Construct a TCP socket for use with a server, accepting connections on the specified port on the interface specified by the given address.

Parameters:
localAddress local interface (address) of server socket
localPort local port of server socket
queueLen maximum queue length for outstanding connection requests (default 5)
Exceptions:
SocketException thrown if unable to create TCP server socket

Definition at line 261 of file PracticalSocket.cpp.

00263                            : Socket(SOCK_STREAM, IPPROTO_TCP) {
00264   setLocalAddressAndPort(localAddress, localPort);
00265   setListen(queueLen);
00266 }


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