RedstoneChips

ipreceiver

Receive messages from anywhere in the known universe. Listens for UDP packets on the selected port number. When a pulse is sent to the clock input pin, the receiver will fill its outputs with any available data in the socket buffer. If the data size is greater than the number of outputs, additional triggers to the clock pin will fill the outputs with new data. Once the circuit finished updating its outputs a quick (and invisible) pulse is sent out the 1st output pin.

The 2nd and sign argument and above set a list of authorized incoming addresses. These can be any valid internet host address. To receive from any address use any.

on Wikipedia ;-)

source code


I/O setup

Sign text

  1. ipreceiver
  2. <port> (NOT optional)
  3. <incoming address>...<incoming address>

Version history: Added to BasicCircuits 0.6

Fork me on GitHub