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.31 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.30 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.29 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.28 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.27 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.26 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.25 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.24 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.23 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.22 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.21 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.20 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.19 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.18 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.17 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.16 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.15 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.14 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.13 lib/rex/io/datagram_abstraction.rb
rex-core-0.1.12 lib/rex/io/datagram_abstraction.rb