mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-08-15 02:33:38 +00:00
new UDPsocket send syntax
This commit is contained in:
+1
-1
@@ -149,7 +149,7 @@ initDeviceConnection = function (id) {
|
||||
});
|
||||
|
||||
device.send = function (data) {
|
||||
device.connection.send(data, device.port, device.addresses[0], (err) => {
|
||||
device.connection.send(Buffer.from(data), device.port, device.addresses[0], (err) => {
|
||||
// console.log(err);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user