Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
t
 
 
 
 
 
 
 
 

README.md

P6-Net-SOCKS

A small SOCKS5 client. Currently only supports connection requests.

Example Usage

use Net::SOCKS;

my $socket = Net::SOCKS.connect(:host('myhost'), :port(123), :proxy-server('proxy'));

Methods

  • connect(:$host!, :$port!, :$proxy-server, :$proxy-port = 1080, :$socket = IO::Socket::INET)

    Opens a connection to the $host via the $proxy-server. Returns a ready-to-use socket on success, and a Failure otherwise.

    The $socket parameter allows you to pass an already-connected handle (in which case $proxy-server and $proxy-port are ignored), or to define an alternate socket class to make the connection with.

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages

  • Other 100.0%
You can’t perform that action at this time.