07-22-2009, 02:38 PM
Join Date: Jul 2009
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | socket help!!
Please Login to Remove!
ok, so I've been beating my head against this problem for a long time now and cant seem to make heads or tails of it.
I cant seem to get the socket to recieve data without first sending data. I cant figure out why.
ssh server sends info first, not client
so after the connection is made, the client is waiting on data that never arrives.
if I were to inject a byte or two, say "\r\n", the response immediately comes back. however this is not what te ssh server is expecting and therefore aborts
this is just an example as the application in question is a proxy and many many different protocols will be routed through it. HTTP seems to work ok seeing as how the client sends a request immediately upon connecting.
if anyone has any knowledge on this matter please help me out, this is driving me insane (have i mentioned that I HATE java and would love to be using a real programming language here?)