| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The interface used to create client sockets.
| Method Summary | |
|  java.net.Socket | createSocket(java.net.InetAddress address,
             int port)Create a socket and connect to remote address specified. | 
|  java.net.Socket | createSocket(java.net.InetAddress address,
             int port,
             java.net.InetAddress localAddress,
             int localPort)Create a socket and connect to remote address specified originating from specified local address. | 
| Method Detail | 
public java.net.Socket createSocket(java.net.InetAddress address,
                                    int port)
                             throws java.io.IOException
address - the remote addressport - the remote port
java.io.IOException - if an error occurs
public java.net.Socket createSocket(java.net.InetAddress address,
                                    int port,
                                    java.net.InetAddress localAddress,
                                    int localPort)
                             throws java.io.IOException
address - the remote addressport - the remote portlocalAddress - the local addresslocalPort - the local port
java.io.IOException - if an error occurs| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||