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

TCPServerSocket::TCPServerSocket ( unsigned short  localPort,
int  queueLen = 5 
) throw (SocketException)

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

Parameters:
localPort local port of server socket, a value of zero will give a system-assigned unused port
queueLen maximum queue length for outstanding connection requests (default 5)
Exceptions:
SocketException thrown if unable to create TCP server socket

Definition at line 255 of file PracticalSocket.cpp.

00256                            : Socket(SOCK_STREAM, IPPROTO_TCP) {
00257   setLocalPort(localPort);
00258   setListen(queueLen);
00259 }


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