Sha256: 1af79c57a88119e36357e938a869ff60cde90eb488ccebf7febc04df4f7eb675

Contents?: true

Size: 425 Bytes

Versions: 30

Compression:

Stored size: 425 Bytes

Contents

# -*- coding: binary -*-

require 'rex/io/socket_abstraction'

module Rex
module IO

###
#
# This class provides an abstraction to a datagram based
# connection through the use of a datagram socketpair.
#
###
module DatagramAbstraction
  include Rex::IO::SocketAbstraction

  #
  # Creates a streaming socket pair
  #
  def initialize_abstraction
    self.lsock, self.rsock = Rex::Socket.udp_socket_pair
  end

end

end; end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
rex-core-0.1.11 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.10 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.9 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.8 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.7 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.6 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.5 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.4 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.3 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.2 lib/rex/io/datagram_abstraction.rb