Eximap v0.1.2-dev Eximap.Socket View Source

A socket module that abstracts away the type of the connection it has with a server.

Link to this section Summary

Functions

Connect to a node using either :ssl or :gen_tcp

Receive data from the socket

Send some data to the socket abstracting the type of the socket away

Set options for the socket based on the type of the connection

Link to this section Functions

Link to this function connect(usessl, host, port, opts) View Source

Connect to a node using either :ssl or :gen_tcp

Receive data from the socket

Link to this function recv(socket, length, timeout) View Source

Send some data to the socket abstracting the type of the socket away

Set options for the socket based on the type of the connection