View Source Extreme.Tcp (extreme v1.1.0-rc3)

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

Link to this function

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

View Source

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