Hundemeier / go-sacn

Implementation of the sACN aka ANSI E1.31 protocol for streaming DMX-data in go
MIT License
16 stars 9 forks source link

Receiver reworked #5

Closed Hundemeier closed 6 years ago

Hundemeier commented 6 years ago

Some parts of the receiver changed slightly, but it breaks exisitng code! Also some important bugs were fixed, so please update!

How to fix errors: Receive and ReceiveMulticast also returning Receiver objects now. So here is an example on how to chnage code:

recv := sacn.NewReceiver()
err := recv.Receive(1, "") 

now:

recv, err := sacn.Receive(1, "")