socks-0.5.5: Socks proxy (version 5) implementation.

LicenseBSD-style
MaintainerVincent Hanquez <vincent@snarc.org>
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell98

Network.Socks5.Types

Description

 

Synopsis

Documentation

data SocksVersion

Socks Version

Constructors

SocksVer5 

data SocksCommand

Command that can be send and receive on the SOCKS protocol

data SocksMethod

Authentication methods available on the SOCKS protocol.

Only SocksMethodNone is effectively implemented, but other value are enumerated for completeness.

data SocksHostAddress

A Host address on the SOCKS protocol.

Constructors

SocksAddrIPV4 !HostAddress 
SocksAddrDomainName !ByteString 
SocksAddrIPV6 !HostAddress6 

data SocksAddress

Describe a Socket address on the SOCKS protocol

Constructors

SocksAddress !SocksHostAddress !PortNumber 

data SocksReply

Type of reply on the SOCKS protocol

data SocksVersionNotSupported

Exception returned when using a SOCKS version that is not supported.

This package only implement version 5.