Fork of, triyin to rewrite for mbed 5. WIP not yet finished but working. ----------------------- An Open Sound Control library for the mbed, created to be compatible with Recotana's OSCClass library (http://recotana.com) for the Arduino with Ethernet shield. It also uses parts of the OSC Transceiver(Sender/Receiver) code by xshige written by: Alvaro Cassinelli, October 2011 tweaked by: Toby Harris / *spark audio-visual, March 2012

Revision:
19:35408d190f4e
Parent:
18:3c678e1d5a84
diff -r 3c678e1d5a84 -r 35408d190f4e OSCBundle.cpp
--- a/OSCBundle.cpp	Fri Dec 14 20:51:12 2018 +0100
+++ b/OSCBundle.cpp	Thu Nov 04 12:41:38 2021 +0100
@@ -194,7 +194,7 @@
  SENDING
  =============================================================================*/
 
-OSCBundle& OSCBundle::send(UDPSocket &p, const char *host, uint16_t port){
+OSCBundle& OSCBundle::send(UDPSocket &p, const SocketAddress &address){
 
 	char  buff[128];
 	uint8_t lengthEnd;
@@ -242,9 +242,9 @@
             }
 
 //        p.write(sptr, 4);
-        msg->send(p, host, port);
+        msg->send(p, address);
     }
-    p.sendto(host, port, buff, lengthEnd);
+    p.sendto(address, buff, lengthEnd);
     return *this;
 }