Ports scanner v0.1.0 PortsScanner.Connection View Source

Documentation for Connection.

Link to this section Summary

Functions

Function that test if port is open or close.

Link to this section Functions

Link to this function

test(host \\ "localhost", port \\ 0)

View Source

Function that test if port is open or close.

Examples

iex> Connection.test("localhost", 80) 80

iex> Connection.test("localhost") nil