List of usage examples for java.net SocketImpl connect
protected abstract void connect(SocketAddress address, int timeout) throws IOException;
From source file:com.codename1.impl.android.AndroidImplementation.java
@Override public Object connectSocket(String host, int port) { SocketImpl i = new SocketImpl(); if (i.connect(host, port)) { return i; }//from w w w . ja v a 2s. co m return null; }