|
How to SOCKSify clients
Compiling with SOCKSThe library of SOCKS
v5 Reference Implementation has functions that are equivalent to the
standard BSD socket functions. Converting an application to use the SOCKS
protocol normally only requires adding an Add this line at or near the beginning of the main procedure:
If you omit this line, the syslog lines that display on the client
host describe a generic program name, instead of the actual client
program name. Add these #define directives to all Add these #define directive to all Add these to the command that creates the executable:
Note: The SOCKS V4 client library cannot SOCKSify
UDP sockets because SOCKS V4 doesn't support UDP. Example: This example assumes SOCKS v5 Reference
Implementation was compiled in the /user/gjh/socks5 directory and
To all To the command that creates the executable, add:
runsocks is a shell script that loads the shared
library of SOCKS v5 Reference Implementation. If your operating system
supports shared libraries (see SOCKS v5 Reference
Implementation), runsocks dynamically allows the application to use
the SOCKSified networking function calls in the shread libraries of SOCKS
v5 Reference Implementation instead of the standard networking function
calls. See the runsocks(1) man
page. SocksCap is a WinSock extension that SOCKSifies
Winsock Applications. See the SocksCap page
for more information about SocksCap and the SOCKS FAQ for other
ways to SOCKSify Windows applications. |
|
SOCKS Home Page | About SOCKS | Site Index | Search Send
questions/comments about web content to webmaster@socks.nec.com |