Sha256: 7f63066a2a9ec42423757fc29612ca7c95bb1031b6de46c35cf95b3d13e33de9
Contents?: true
Size: 607 Bytes
Versions: 3
Compression:
Stored size: 607 Bytes
Contents
module ShadowsocksRuby module Connections module TCP # (see TCP::ClientConnection) module DestinationConnection include ShadowsocksRuby::Connections::Connection include ShadowsocksRuby::Connections::BackendConnection # (see TCP::ClientConnection#process_hook) def process_hook #plexer.packet_protocol.tcp_send_to_localbackend(packet_protocol.tcp_receive_from_destination(-1)) data = packet_protocol.tcp_receive_from_destination(-1) plexer.packet_protocol.tcp_send_to_localbackend(data) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems