Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Around the word Build Status
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
data
lib
spec
.gitignore
.rspec
.travis.yml
Gemfile
Gemfile.lock
README.md
Rakefile
server.rb

README.md

Around the word Build Status

Awesome tcp server

Quick start

You must clone this repo:

  git clone git@github.com:maringan/around_the_world.git

then:

  cd around_the_world && bundle

now you can run the server:

  ruby server.rb

server should run on port 10000

Usage

When server is running, you can connect to server thorugh telnet client:

  telnet 0 10000

then you can write country code e.g. PL and you get country name:

Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
PL
Poland
Something went wrong with that request. Please try again.