Acting as stream initiator and stream host I need to send a bind? Or I need to wait for the target it to me? I didnt see the bind in the negotiation where I was the target and was successful in establishing the connection, I would think it would be the exact same negotiation only reversed. Any ideas?

Thanks
Alex

Zhong Li wrote:

You need send BIND( X'02') first,
buffer[0]=SOCKS_VER5;
buffer[1]=2;
buffer[2]=RSV_DEFAULT;
buffer[3]=2;
outs.write(buffer,0,4);


Zhong Li

_______________________________________________
jdev mailing list
[email protected]
http://mail.jabber.org/mailman/listinfo/jdev

_______________________________________________
jdev mailing list
[email protected]
http://mail.jabber.org/mailman/listinfo/jdev

Reply via email to