This library will provide a tool like proxyfier for j2me applications.Jar archive consists of two classes 'settings' and 'TCPconnection' in org.proxybypass package
Settings Class
Mainly to specify the proxy and proxy port number
Constructor
settings set= new settings(String proxyip, String proxyport)
note port is of String type
TCPconnection
Core of the Library to provide the tcp connection through the proxy
Constructor
TCPconnection mytcp = new TCPconnetion( Settings set,String server, String port)
set :is the settings class with proxy ip and porxy port
server :-Server to communicate with
port :- Port of the server
Methods
- boolean makeinit()
this should called before calling any other methods given below
- InputStream getInputStream()
- OutputStream getOutputStream()
Tough this will allow any tcp connections, to achieve a succesful http communication we need some more tricky manipulation in the http request headers abt that i will disscuss later
Library Downlaod is available here
