| java.lang.Object org.codehaus.spice.netserve.sockets.impl.DefaultSocketFactory
DefaultSocketFactory | public class DefaultSocketFactory implements SocketFactory(Code) | | A SocketFactory that creates vanilla sockets.
author: Peter Donald version: $Revision: 1.2 $ $Date: 2004/03/21 23:42:59 $ |
createSocket | public Socket createSocket(InetAddress address, int port) throws IOException(Code) | | Create a socket that connects to specified remote address.
Parameters: address - the remote address Parameters: port - the remote port the socket connected to remote address throws: IOException - if unable to create socket |
createSocket | public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException(Code) | | Create a socket that connects to specified remote address and
originates from specified local address.
Parameters: address - the remote address Parameters: port - the remote port Parameters: localAddress - the local address Parameters: localPort - the local port the socket connected to remote address throws: IOException - if unable to create socket |
|
|