# Package net.i2p.socks

SOCKS protocol implementation providing client and server functionality for proxy operations through I2P.

See: Description

- Class Summary
  Class | Description
  --- | ---
  SOCKS4Client | A simple SOCKS 4/4a client.
  SOCKS4Constants | Constants for SOCKS4 protocol.
  SOCKS4Constants.Command | SOCKS4 command codes.
  SOCKS4Constants.Reply | SOCKS4 reply codes.
  SOCKS5Client | A simple SOCKS 5 client.
  SOCKS5Constants | Constants for SOCKS5 protocol.
  SOCKS5Constants.AddressType | SOCKS5 address types.
  SOCKS5Constants.Command | SOCKS5 command codes.
  SOCKS5Constants.Method | SOCKS5 authentication methods.
  SOCKS5Constants.Reply | SOCKS5 reply codes.

- Exception Summary
  Exception | Description
  --- | ---
  SOCKSException | Exception thrown by socket methods

## Package net.i2p.socks Description

SOCKS protocol implementation providing client and server functionality for proxy operations through I2P.

This package contains the core SOCKS protocol implementation that enables TCP applications to route their traffic through the I2P network. Originally part of the i2ptunnel package, it was extracted in version 0.9.33 for broader use across I2P applications, including SSLEepGet.

Key Features:

- SOCKS 4/4a/5 Support: Compatible with major SOCKS protocol versions
- Client Implementation: SOCKS client for routing connections through I2P tunnels
- Server Implementation: SOCKS server for exposing I2P services to external applications
- Protocol Constants: Standard SOCKS protocol definitions and message types
- Connection Management: Handling of SOCKS negotiation and data forwarding

Usage:

- I2P tunnels use this package to provide SOCKS proxy functionality
- External applications can connect to I2P SOCKS proxies for anonymous networking
- The implementation supports both outbound and inbound SOCKS connections

Note: This package provides low-level SOCKS protocol handling. For higher-level tunnel management, see the net.i2p.i2ptunnel package.