View Source ExP2P (ex_p2p v0.1.0)

Documentation for ExP2p.

Link to this section Summary

Link to this section Functions

Link to this function

bidirectional(endpoint, connection, msg, timeout \\ 10000)

View Source
Link to this function

bidirectional_open(endpoint, connection, listener_pid)

View Source
Link to this function

connect(endpoint, peers, timeout \\ 10000)

View Source

Hello world.

examples

Examples

iex> ExP2p.hello()
:world
Link to this function

connect_to_peer(endpoint, peers, waiting, timeout)

View Source
Link to this function

send_bidirectional(endpoint, connection, resp, waiting, timeout)

View Source
Link to this function

send_bidirectional_open(endpoint, connection, waiting, listener_pid)

View Source
Link to this function

send_stream_finish(endpoint, stream)

View Source
Link to this function

send_stream_response(endpoint, stream, resp, waiting, timeout)

View Source
Link to this function

send_unidirectional(endpoint, connection, resp, waiting, timeout)

View Source
Link to this function

send_unidirectional_many(endpoint, addrs, resp, waiting, timeout)

View Source
Link to this function

set_controlling_pid(resp_channel, pid)

View Source
Link to this function

start(waiting, bind, bootstrap)

View Source
Link to this function

stream_finish(endpoint, stream)

View Source
Link to this function

stream_send(endpoint, stream, msg, timeout \\ 10000)

View Source
Link to this function

unidirectional(endpoint, connection, msg, timeout \\ 10000)

View Source
Link to this function

unidirectional_many(endpoint, addrs, msg, timeout \\ 10000)

View Source