V 0.06 released! Corrected a bug - if Timeout=0 all connections timed out! Now when timeout=0 there is no timeout.
V 0.05 released! OnTimeout event will now be called if an SOCKS connect attempt timesout. UseSocks can now be set at any time the socket is not connected. Previously if UseSocks were set before SocksAddress and SocksPort were set, a "No address specified" exception was raised.
V 0.04 released! A bug was fixed where an attempted connection could hang.
V 0.03 is now out! I've corrected some bugs/problems. Should I stop calling BETA now? No one has emailed me with problem reports!
TBinarySocksClient is now a VISUAL component!
Using some newly found free time I've converted TBinarySocksClient into a VC. Download v 0.02 beta to try it out!
I've corrected an error on this page. SocksHost is really SocksAddress. I changed it in the control but forgot about it here. This way it's more like TBinaryClient.
Download tbsocks.zip - beta v 0.05
If true, Open will try to connect through SocksAddress at SocksPort
If false, a direct connection to Host will be made. TBinarySocksClient should behave exactly like TBinaryClient in this mode. (hopefully)
Hostname of SOCKS server
Port to connect to on SocksAddress
The Conn property is unchanged. It is still the actual socket that is used. This means that for SOCKS connections, conn.RemotePort and conn.RemoteAddress will return SocksPort and SocksAddress
Since TBinarySocksClient is now visual, do the following to add it to your component pallette in Delphi 2.0:
Install...under the
Componentmenu.
Add...button.
socks.pasor
Browsefor it.
OK. Delphi should now rebuild the Component Library. TBinarySocksClient control should appear under your dWinsock tab.
Now add TBinarySocksClient controls to your projects like any other control!
Don't know of any that haven't been fixed yet...:)
Please test it out and send me reports of success/failure!
Send bug reports, requests for help, etc. to pfong@geocities.com