JHttpTunnel is the implementation of GNU httptunnel\'s protocol in pure Java.
Tutorial Details:
Why JHttpTunnel?
Our initial motivation for developing this stuff was to loose users from the cage made of HTTP on mobile platform based on J2ME. We have believed the protocol of GNU httptunnel may be a key for it. GNU httptunnel is written and maintained by Lars Brinkhoff and its web page says as follows,
httptunnel creates a bidirectional virtual data connection tunnelled in HTTP requests. The HTTP requests can be sent via an HTTP proxy if so desired. This can be useful for users behind restrictive firewalls. If WWW access is allowed through a HTTP proxy, it\'s possible to use httptunnel and, say, telnet or PPP to connect to a computer outside the firewall.
The protocol of GNU httptunnel has been described in HACKING file included in its distribution archive.
Features
The current JHttpTunnel has the following features.
* JHttpTunnel implements GNU httptunnel\'s protocol.
The current implementation works with httptunnel 3.0.5.
* JHttpTunnel works on J2SE.
We have confirmed it wroks on J2SE 1.4.
* accessing via HTTP proxy.
We have confirmed Squid has allowed the communication.
* client side code.
* JHttpTunnel is licensed under BSD style license.
How To Use
Suppose your java program has following lines,
Socket socket=new Socket(host, port);
InputStream in=socket.getInputStream();
OutputStream out=socket.getOutputStream();
Read
Tutorial at: Click here to view the tutorial
Rate Tutorial: JHttpTunnel
View Tutorial: JHttpTunnel
Related
Tutorials:
JHttpTunnel
JHttpTunnel is the implementation of GNU httptunnel\'s protocol in pure Java. |
|
|
|