Back to project page LibGeppa.
The source code is released under:
Apache License
If you think the Android project LibGeppa listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package net.cattaka.libgeppa.net; /*from w w w. j a v a2 s . c o m*/ import net.cattaka.libgeppa.IRawSocket; import net.cattaka.libgeppa.thread.ConnectionThread.IRawSocketPrepareTask; public class RemoteSocketPrepareTask implements IRawSocketPrepareTask { private String mHostname; private int ??Port; public RemoteSocketPrepareTask(String hostname, int port) { super(); mHostname = hostname; this.??Port = port; } @Override public IRawSocket prepareRawSocket() { IRawSocket rawSocket = null; rawSocket = new RemoteSocket(mHostname, ??Port); return rawSocket; } }