Sha256: a5e95ec22990440ca458edb704b712c57cbffeb95802ecf2bae6f398d7a60505

Contents?: true

Size: 303 Bytes

Versions: 43

Compression:

Stored size: 303 Bytes

Contents

require './test/lib_server_accept'

class TestKgioTCPServer < Test::Unit::TestCase

  def setup
    @host = ENV["TEST_HOST"] || '127.0.0.1'
    @srv = Kgio::TCPServer.new(@host, 0)
    @port = @srv.addr[1]
  end

  def client_connect
    TCPSocket.new(@host, @port)
  end

  include LibServerAccept
end

Version data entries

43 entries across 43 versions & 2 rubygems

Version Path
kgio-2.11.4 test/test_tcp_server.rb
kgio-2.11.3 test/test_tcp_server.rb
kgio-2.11.2 test/test_tcp_server.rb
kgio-2.11.1.1.g36ea test/test_tcp_server.rb
kgio-2.11.1 test/test_tcp_server.rb
kgio-2.11.0 test/test_tcp_server.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/kgio-2.10.0/test/test_tcp_server.rb
kgio-2.10.0 test/test_tcp_server.rb
kgio-2.9.3 test/test_tcp_server.rb
kgio-2.9.2 test/test_tcp_server.rb
kgio-2.9.1 test/test_tcp_server.rb
kgio-2.9.0.2.gf33a test/test_tcp_server.rb
kgio-2.9.0 test/test_tcp_server.rb
kgio-2.8.1 test/test_tcp_server.rb
kgio-2.8.0.2.g30c1 test/test_tcp_server.rb
kgio-2.8.0 test/test_tcp_server.rb
kgio-2.7.4 test/test_tcp_server.rb
kgio-2.7.3 test/test_tcp_server.rb
kgio-2.7.2 test/test_tcp_server.rb
kgio-2.7.1 test/test_tcp_server.rb