public boolean getTcpNoDelay () throws SocketException

Tests if TCP_NODELAY is enabled.

Returns:  a boolean indicating whether or not TCP_NODELAY is enabled.

Exceptions:
SocketException    if there is an error in the underlying protocol, such as a TCP error.

See also:
setTcpNoDelay(boolean)

Since:  JDK1.1