ex_wire v0.1.1 ExWire.Adapter.UDP
Starts a UDP server to handle incoming and outgoing peer to peer messages according to RLPx.
Link to this section Summary
Functions
For cast, we’ll respond back to a given peer with a given message package. This represents all outbound messages we’ll ever send
Handle info will handle when we have communucation from a peer node
Initialize by opening up a gen_udp server on a given port
When starting a UDP server, we’ll store a network to use for all message handling
Link to this section Functions
For cast, we’ll respond back to a given peer with a given message package. This represents all outbound messages we’ll ever send.
Handle info will handle when we have communucation from a peer node.
We’ll offload the effort to our ExWire.Network and ExWire.Handler modules.
Note: all responses will be asynchronous.
Initialize by opening up a gen_udp server on a given port.
When starting a UDP server, we’ll store a network to use for all message handling.