octi
asked on
socket through a firewall or proxy
How can I open a socket connection through a proxy or firewall?
Can I use the SocketImplementationFactor y classes to write some settings for the socket? How?
Can I use the SocketImplementationFactor
ASKER
I like the method but it is artificial, even if solve the problem of client/server conection (I did not try it yet). I like to find out wat is with this SocketImplementationFactor y calss and how can bee used. Thans anyway.
Octi
Octi
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I don't had the time to understand everything, what you did write here, but at least now I know what can I do with SocketImplementationFactor y (or what I can't), if you are right...
Octi
Octi
You will eventually need to write some native code on the platform you are working on to actually make the sockets if you wish to follow this route. there is plenty of free exaples around in C on how to do this.
Firewall will still block on ports that connections are disallowed on, but mb is an expert in many details of Firewalls so I'm sure he can help you here on set up of firewalls.
Firewall will still block on ports that connections are disallowed on, but mb is an expert in many details of Firewalls so I'm sure he can help you here on set up of firewalls.
ASKER
It is this little program on this link:
http://developer.java.sun.com/developer/technicalArticles/InnerWorkings/Burrowing/index.html
Did you tried? Because I tried and it does not work. I get a message like "Error connection/ server"
http://developer.java.sun.com/developer/technicalArticles/InnerWorkings/Burrowing/index.html
Did you tried? Because I tried and it does not work. I get a message like "Error connection/ server"
The following links explain the problem.
http://forum.java.sun.com/forum?14@@.ee78a3c
http://forum.java.sun.com/forum?14@@.eea6da6
http://forum.java.sun.com/forum?14@@.ee780c4
However - there are ways around this using HTTP connections for example.
The details are all here:
http://developer.java.sun.com/developer/technicalArticles/InnerWorkings/Burrowing/index.html