Telent Vs. Socket
843790Dec 29 2009 — edited Dec 29 2009Hi...
first of all, i would like to thank everybody who read this post, and really appreciate if somebody can help me by ideas or any valuable information for this problem as i tried to do everything but nothing worked and i am unable to find any new solution
The problem is simply i am posting some information to a specific web service, when i use socket the server doesn't reply to me by anything and even i am not getting a connection timeout i just get a read timeout when i specify the socket timeout , and simply I don't get the reply, but when try the same request by posting it using telnet on the same server and port it works just fine and i receive the response.
We have a VPN between the client and the server and i need to know what could be the problem, what can i do and what could be the difference between the telnet and java.net.socket
Given that i have turned off the firewall and am thinking that the packets get dropped somewhere
Thanks in Advanced