KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > alt > java > net > SocketFactory


1 package alt.java.net;
2
3 import java.net.UnknownHostException JavaDoc;
4 import java.io.IOException JavaDoc;
5
6 public interface SocketFactory {
7     Socket createSocket(String JavaDoc aHost, int aPort) throws UnknownHostException JavaDoc,
8         IOException JavaDoc;
9 }
10
Popular Tags