2005/5/9
-- ACDK API Docs Namespaces acdk acdk::net ServerSocket members Java (java.sun.com) See also: ServerSocket.cpp ServerSocket.h
(c) 2005 byRoger Rene Kommer
Kindly hosted at:
#include <ServerSocket.h>
Inheritance diagram for acdk::net::ServerSocket:
Creates a server socket on a specified port.
if port == -1 os should select a port
[virtual]
Creates a server socket and binds it to the specified local port number.
Create a server with the specified port, listen backlog, and local IP address to bind to.
Listens for a connection to be made to this socket and accepts it.
Closes this socket.
Returns the local address of this server socket.
Returns the port on which this socket is listening.
[inline]
get SO_REUSEADDR flag
Retrive setting for SO_TIMEOUT.
Tests if TCP_NODELAY is enabled.
[protected]
Subclasses of ServerSocket use this method to override accept() to return their own subclass of socket.
set SO_REUSEADDR flag
[static]
Sets the server socket implementation factory for the application.
Enable/disable SO_TIMEOUT with the specified timeout, in milliseconds.
Enable/disable TCP_NODELAY (disable/enable Nagle's algorithm).
Returns the implementation address and implementation port of this socket as a String.
Reimplemented from acdk::lang::Object.
[private]