Skip to content
No description, website, or topics provided.
Elixir
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
lib/gen_tcp_accept_and_close
test
.formatter.exs
.gitignore
LICENSE.md
README.md
elixir_buildpack.config
mix.exs

README.md

gen_tcp accept and close

Simple gen_tcp server that accepts and immediately closes connections ignoring any data sent.

Installation

Add gen_tcp_accept_and_close to your list of dependencies in mix.exs:

def deps do
  [
    {:gen_tcp_accept_and_close, "~> 0.1.0"}
  ]
end

Configuration

To change the port or listening ip, add these to your config.exs

config :gen_tcp_accept_and_close, port: 4000
config :gen_tcp_accept_and_close, ip: {0, 0, 0, 0}
You can’t perform that action at this time.