<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class java.net.Socket
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.net.html">This Package</a>  <a href="java.net.ServerSocket.html#_top_">Previous</a>  <a href="java.net.SocketImpl.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.net.Socket
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----java.net.Socket
</pre>
<hr>
<dl>
  <dt> public class <b>Socket</b>
  <dt> extends <a href="java.lang.Object.html#_top_">Object</a>
</dl>
This class implements client sockets (also called just 
 "sockets"). A socket is an endpoint for communication 
 between two machines. 
 <p>
 The actual work of the socket is performed by an instance of the 
 <code>SocketImpl</code> class. An application, by changing 
 the socket factory that creates the socket implementation, 
 can configure itself to create sockets appropriate to the local 
 firewall.
<p>
<dl>
    <dt> <b>See Also:</b>
    <dd> <a href="#setSocketImplFactory(java.net.SocketImplFactory)">setSocketImplFactory</a>, <a href="java.net.SocketImpl.html#_top_">SocketImpl</a>
</dl>
<hr>
<a name="index"></a>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#Socket()"><b>Socket</b></a>()
  <dd>  Creates an unconnected socket, with the
 system-default type of SocketImpl.
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#Socket(java.net.InetAddress, int)"><b>Socket</b></a>(InetAddress, int)
  <dd> 
 Creates a stream socket and connects it to the specified port 
 number at the specified IP address.
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#Socket(java.net.InetAddress, int, boolean)"><b>Socket</b></a>(InetAddress, int, boolean)
  <dd>  Creates a socket and connects it to the specified port number at 
 the specified IP address.
<b>Deprecated.</b>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#Socket(java.net.InetAddress, int, java.net.InetAddress, int)"><b>Socket</b></a>(InetAddress, int, InetAddress, int)
  <dd> 
 Creates a socket and connects it to the specified remote address on
 the specified remote port.
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#Socket(java.net.SocketImpl)"><b>Socket</b></a>(SocketImpl)
  <dd>  Creates an unconnected Socket with a user-specified
 SocketImpl.
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#Socket(java.lang.String, int)"><b>Socket</b></a>(String, int)
  <dd> 
 Creates a stream socket and connects it to the specified port 
 number on the named host.
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#Socket(java.lang.String, int, boolean)"><b>Socket</b></a>(String, int, boolean)
  <dd>  Creates a stream socket and connects it to the specified port 
 number on the named host.
<b>Deprecated.</b>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#Socket(java.lang.String, int, java.net.InetAddress, int)"><b>Socket</b></a>(String, int, InetAddress, int)
  <dd> 
 Creates a socket and connects it to the specified remote host on
 the specified remote port.
</dl>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#close()"><b>close</b></a>()
  <dd>  Closes this socket.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getInetAddress()"><b>getInetAddress</b></a>()
  <dd>  Returns the address to which the socket is connected.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getInputStream()"><b>getInputStream</b></a>()
  <dd>  Returns an input stream for this socket.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getLocalAddress()"><b>getLocalAddress</b></a>()
  <dd>  Gets the local address to which the socket is bound.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getLocalPort()"><b>getLocalPort</b></a>()
  <dd>  Returns the local port to which this socket is bound.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getOutputStream()"><b>getOutputStream</b></a>()
  <dd>  Returns an output stream for this socket.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getPort()"><b>getPort</b></a>()
  <dd>  Returns the remote port to which this socket is connected.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getSoLinger()"><b>getSoLinger</b></a>()
  <dd>  Returns setting for SO_LINGER.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getSoTimeout()"><b>getSoTimeout</b></a>()
  <dd>  Returns setting for SO_TIMEOUT.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getTcpNoDelay()"><b>getTcpNoDelay</b></a>()
  <dd>  Tests if TCP_NODELAY is enabled.
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setSocketImplFactory(java.net.SocketImplFactory)"><b>setSocketImplFactory</b></a>(SocketImplFactory)
  <dd>  Sets the client socket implementation factory for the 
 application.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setSoLinger(boolean, int)"><b>setSoLinger</b></a>(boolean, int)
  <dd>  Enable/disable SO_LINGER with the specified linger time.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setSoTimeout(int)"><b>setSoTimeout</b></a>(int)
  <dd>   Enable/disable SO_TIMEOUT with the specified timeout, in
  milliseconds.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setTcpNoDelay(boolean)"><b>setTcpNoDelay</b></a>(boolean)
  <dd>  Enable/disable TCP_NODELAY (disable/enable Nagle's algorithm).
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#toString()"><b>toString</b></a>()
  <dd>  Converts this socket to a <code>String</code>.
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="Socket"></a>
<a name="Socket()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>Socket</b>
<pre>
 protected Socket()
</pre>
<dl>
  <dd> Creates an unconnected socket, with the
 system-default type of SocketImpl.
<p>
</dl>
<a name="Socket(java.net.SocketImpl)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>Socket</b>
<pre>
 protected Socket(<a href="java.net.SocketImpl.html#_top_">SocketImpl</a> impl) throws <a href="java.net.SocketException.html#_top_">SocketException</a>
</pre>
<dl>
  <dd> Creates an unconnected Socket with a user-specified
 SocketImpl.
 <P>
 The <i>impl</i> parameter is an instance of a <B>SocketImpl</B> 
 the subclass wishes to use on the Socket.
<p>
</dl>
<a name="Socket(java.lang.String, int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>Socket</b>
<pre>
 public Socket(<a href="java.lang.String.html#_top_">String</a> host,
               int port) throws <a href="java.net.UnknownHostException.html#_top_">UnknownHostException</a>, <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
  <dd> Creates a stream socket and connects it to the specified port 
 number on the named host. 
 <p>
 If the application has specified a server socket factory, that 
 factory's <code>createSocketImpl</code> method is called to create 
 the actual socket implementation. Otherwise a "plain" socket is created.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> host - the host name.
    <dd> port - the port number.
    <dt> <b>Throws:</b> <a href="java.io.IOException.html#_top_">IOException</a>
    <dd> if an I/O error occurs when creating the socket.
    <dt> <b>See Also:</b>
    <dd> <a href="#setSocketImplFactory(java.net.SocketImplFactory)">setSocketImplFactory</a>, <a href="java.net.SocketImpl.html#_top_">SocketImpl</a>, <a href="java.net.SocketImplFactory.html#createSocketImpl()">createSocketImpl</a>
  </dl></dd>
</dl>
<a name="Socket(java.net.InetAddress, int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>Socket</b>
<pre>
 public Socket(<a href="java.net.InetAddress.html#_top_">InetAddress</a> address,
               int port) throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
  <dd> Creates a stream socket and connects it to the specified port 
 number at the specified IP address. 
 <p>
 If the application has specified a socket factory, that factory's 
 <code>createSocketImpl</code> method is called to create the 
 actual socket implementation. Otherwise a "plain" socket is created.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> address - the IP address.
    <dd> port - the port number.
    <dt> <b>Throws:</b> <a href="java.io.IOException.html#_top_">IOException</a>
    <dd> if an I/O error occurs when creating the socket.
    <dt> <b>See Also:</b>
    <dd> <a href="#setSocketImplFactory(java.net.SocketImplFactory)">setSocketImplFactory</a>, <a href="java.net.SocketImpl.html#_top_">SocketImpl</a>, <a href="java.net.SocketImplFactory.html#createSocketImpl()">createSocketImpl</a>
  </dl></dd>
</dl>
<a name="Socket(java.lang.String, int, java.net.InetAddress, int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>Socket</b>
<pre>
 public Socket(<a href="java.lang.String.html#_top_">String</a> host,
               int port,
               <a href="java.net.InetAddress.html#_top_">InetAddress</a> localAddr,
               int localPort) throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
  <dd> Creates a socket and connects it to the specified remote host on
 the specified remote port. The Socket will also bind() to the local
 address and port supplied.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> host - the name of the remote host
    <dd> port - the remote port
    <dd> localAddr - the local address the socket is bound to
    <dd> localPort - the local port the socket is bound to
  </dl></dd>
</dl>
<a name="Socket(java.net.InetAddress, int, java.net.InetAddress, int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>Socket</b>
<pre>
 public Socket(<a href="java.net.InetAddress.html#_top_">InetAddress</a> address,
               int port,
               <a href="java.net.InetAddress.html#_top_">InetAddress</a> localAddr,
               int localPort) throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
  <dd> Creates a socket and connects it to the specified remote address on
 the specified remote port. The Socket will also bind() to the local
 address and port supplied.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> address - the remote address
    <dd> port - the remote port
    <dd> localAddr - the local address the socket is bound to
    <dd> localPort - the local port the socket is bound to
  </dl></dd>
</dl>
<a name="Socket(java.lang.String, int, boolean)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>Socket</b>
<pre>
 public Socket(<a href="java.lang.String.html#_top_">String</a> host,
               int port,
               boolean stream) throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
<dd><b> Note: Socket() is deprecated.</b>
<i>Use DatagramSocket instead for UDP transport.</i>
<p>
  <dd> Creates a stream socket and connects it to the specified port 
 number on the named host. 
 <p>
 If the stream argument is <code>true</code>, this creates a 
 stream socket. If the stream argument is <code>false</code>, it 
 creates a datagram socket. 
 <p>
 If the application has specified a server socket factory, that 
 factory's <code>createSocketImpl</code> method is called to create 
 the actual socket implementation. Otherwise a "plain" socket is created.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> host - the host name.
    <dd> port - the port number.
    <dd> stream - a <code>boolean</code> indicating whether this is
                      a stream socket or a datagram socket.
    <dt> <b>Throws:</b> <a href="java.io.IOException.html#_top_">IOException</a>
    <dd> if an I/O error occurs when creating the socket.
    <dt> <b>See Also:</b>
    <dd> <a href="#setSocketImplFactory(java.net.SocketImplFactory)">setSocketImplFactory</a>, <a href="java.net.SocketImpl.html#_top_">SocketImpl</a>, <a href="java.net.SocketImplFactory.html#createSocketImpl()">createSocketImpl</a>
  </dl></dd>
</dl>
<a name="Socket(java.net.InetAddress, int, boolean)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>Socket</b>
<pre>
 public Socket(<a href="java.net.InetAddress.html#_top_">InetAddress</a> host,
               int port,
               boolean stream) throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
<dd><b> Note: Socket() is deprecated.</b>
<i>Use DatagramSocket instead for UDP transport.</i>
<p>
  <dd> Creates a socket and connects it to the specified port number at 
 the specified IP address. 
 <p>
 If the stream argument is <code>true</code>, this creates a 
 stream socket. If the stream argument is <code>false</code>, it 
 creates a datagram socket. 
 <p>
 If the application has specified a server socket factory, that 
 factory's <code>createSocketImpl</code> method is called to create 
 the actual socket implementation. Otherwise a "plain" socket is created.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> address - the IP address.
    <dd> port - the port number.
    <dd> stream - if <code>true</code>, create a stream socket;
                       otherwise, create a datagram socket.
    <dt> <b>Throws:</b> <a href="java.io.IOException.html#_top_">IOException</a>
    <dd> if an I/O error occurs when creating the socket.
    <dt> <b>See Also:</b>
    <dd> <a href="#setSocketImplFactory(java.net.SocketImplFactory)">setSocketImplFactory</a>, <a href="java.net.SocketImpl.html#_top_">SocketImpl</a>, <a href="java.net.SocketImplFactory.html#createSocketImpl()">createSocketImpl</a>
  </dl></dd>
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="getInetAddress()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getInetAddress"><b>getInetAddress</b></a>
<pre>
 public <a href="java.net.InetAddress.html#_top_">InetAddress</a> getInetAddress()
</pre>
<dl>
  <dd> Returns the address to which the socket is connected.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the remote IP address to which this socket is connected.
  </dl></dd>
</dl>
<a name="getLocalAddress()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getLocalAddress"><b>getLocalAddress</b></a>
<pre>
 public <a href="java.net.InetAddress.html#_top_">InetAddress</a> getLocalAddress()
</pre>
<dl>
  <dd> Gets the local address to which the socket is bound.
<p>
</dl>
<a name="getPort()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getPort"><b>getPort</b></a>
<pre>
 public int getPort()
</pre>
<dl>
  <dd> Returns the remote port to which this socket is connected.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the remote port number to which this socket is connected.
  </dl></dd>
</dl>
<a name="getLocalPort()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getLocalPort"><b>getLocalPort</b></a>
<pre>
 public int getLocalPort()
</pre>
<dl>
  <dd> Returns the local port to which this socket is bound.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the local port number to which this socket is connected.
  </dl></dd>
</dl>
<a name="getInputStream()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getInputStream"><b>getInputStream</b></a>
<pre>
 public <a href="java.io.InputStream.html#_top_">InputStream</a> getInputStream() throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
  <dd> Returns an input stream for this socket.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> an input stream for reading bytes from this socket.
    <dt> <b>Throws:</b> <a href="java.io.IOException.html#_top_">IOException</a>
    <dd> if an I/O error occurs when creating the
               input stream.
  </dl></dd>
</dl>
<a name="getOutputStream()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getOutputStream"><b>getOutputStream</b></a>
<pre>
 public <a href="java.io.OutputStream.html#_top_">OutputStream</a> getOutputStream() throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
  <dd> Returns an output stream for this socket.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> an output stream for writing bytes to this socket.
    <dt> <b>Throws:</b> <a href="java.io.IOException.html#_top_">IOException</a>
    <dd> if an I/O error occurs when creating the
               output stream.
  </dl></dd>
</dl>
<a name="setTcpNoDelay(boolean)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setTcpNoDelay"><b>setTcpNoDelay</b></a>
<pre>
 public void setTcpNoDelay(boolean on) throws <a href="java.net.SocketException.html#_top_">SocketException</a>
</pre>
<dl>
  <dd> Enable/disable TCP_NODELAY (disable/enable Nagle's algorithm).
<p>
</dl>
<a name="getTcpNoDelay()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getTcpNoDelay"><b>getTcpNoDelay</b></a>
<pre>
 public boolean getTcpNoDelay() throws <a href="java.net.SocketException.html#_top_">SocketException</a>
</pre>
<dl>
  <dd> Tests if TCP_NODELAY is enabled.
<p>
</dl>
<a name="setSoLinger(boolean, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setSoLinger"><b>setSoLinger</b></a>
<pre>
 public void setSoLinger(boolean on,
                         int val) throws <a href="java.net.SocketException.html#_top_">SocketException</a>
</pre>
<dl>
  <dd> Enable/disable SO_LINGER with the specified linger time.
<p>
</dl>
<a name="getSoLinger()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getSoLinger"><b>getSoLinger</b></a>
<pre>
 public int getSoLinger() throws <a href="java.net.SocketException.html#_top_">SocketException</a>
</pre>
<dl>
  <dd> Returns setting for SO_LINGER. -1 returns implies that the
 option is disabled.
<p>
</dl>
<a name="setSoTimeout(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setSoTimeout"><b>setSoTimeout</b></a>
<pre>
 public synchronized void setSoTimeout(int timeout) throws <a href="java.net.SocketException.html#_top_">SocketException</a>
</pre>
<dl>
  <dd> Enable/disable SO_TIMEOUT with the specified timeout, in
  milliseconds.  With this option set to a non-zero timeout,
  a read() call on the InputStream associated with this Socket
  will block for only this amount of time.  If the timeout expires,
  a <B>java.io.InterruptedIOException</B> is raised, though the
  Socket is still valid. The option <B>must</B> be enabled
  prior to entering the blocking operation to have effect. The 
  timeout must be > 0.
  A timeout of zero is interpreted as an infinite timeout.
<p>
</dl>
<a name="getSoTimeout()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getSoTimeout"><b>getSoTimeout</b></a>
<pre>
 public synchronized int getSoTimeout() throws <a href="java.net.SocketException.html#_top_">SocketException</a>
</pre>
<dl>
  <dd> Returns setting for SO_TIMEOUT.  0 returns implies that the
 option is disabled (i.e., timeout of infinity).
<p>
</dl>
<a name="close()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="close"><b>close</b></a>
<pre>
 public synchronized void close() throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
  <dd> Closes this socket.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.io.IOException.html#_top_">IOException</a>
    <dd> if an I/O error occurs when closing this socket.
  </dl></dd>
</dl>
<a name="toString()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="toString"><b>toString</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> toString()
</pre>
<dl>
  <dd> Converts this socket to a <code>String</code>.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> a string representation of this socket.
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Object.html#toString()">toString</a> in class <a href="java.lang.Object.html#_top_">Object</a>
  </dl></dd>
</dl>
<a name="setSocketImplFactory(java.net.SocketImplFactory)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setSocketImplFactory"><b>setSocketImplFactory</b></a>
<pre>
 public static synchronized void setSocketImplFactory(<a href="java.net.SocketImplFactory.html#_top_">SocketImplFactory</a> fac) throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
  <dd> Sets the client socket implementation factory for the 
 application. The factory can be specified only once. 
 <p>
 When an application creates a new client socket, the socket 
 implementation factory's <code>createSocketImpl</code> method is 
 called to create the actual socket implementation.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> fac - the desired factory.
    <dt> <b>Throws:</b> <a href="java.io.IOException.html#_top_">IOException</a>
    <dd> if an I/O error occurs when setting the
               socket factory.
    <dt> <b>Throws:</b> <a href="java.net.SocketException.html#_top_">SocketException</a>
    <dd> if the factory is already defined.
    <dt> <b>See Also:</b>
    <dd> <a href="java.net.SocketImplFactory.html#createSocketImpl()">createSocketImpl</a>
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.net.html">This Package</a>  <a href="java.net.ServerSocket.html#_top_">Previous</a>  <a href="java.net.SocketImpl.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
