Extreme.Tcp (extreme v1.1.2)

View Source

Set of functions for TCP communication.

Summary

Functions

Opens tcp connection with EventStore. Returns {:ok, socket} on success or {:error, :max_attempt_exceeded} if connection wasn't made in :max_attempts provided in configuration. If not specified, max_attempts defaults to :infinity

Functions

connect(host, port, configuration, attempt \\ 1)

Opens tcp connection with EventStore. Returns {:ok, socket} on success or {:error, :max_attempt_exceeded} if connection wasn't made in :max_attempts provided in configuration. If not specified, max_attempts defaults to :infinity