Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: OSCMessage.cpp
- Revision:
- 19:35408d190f4e
- Parent:
- 18:3c678e1d5a84
--- a/OSCMessage.cpp Fri Dec 14 20:51:12 2018 +0100 +++ b/OSCMessage.cpp Thu Nov 04 12:41:38 2021 +0100 @@ -432,7 +432,7 @@ SENDING =============================================================================*/ -OSCMessage& OSCMessage::send(UDPSocket &p, const char *host, uint16_t port){ +OSCMessage& OSCMessage::send(UDPSocket &p, const SocketAddress &address){ char buff[128]; uint8_t lengthEnd; @@ -537,7 +537,7 @@ // p.write(ptr, datum->bytes); } } - p.sendto(host, port, buff, lengthEnd); + p.sendto(address, buff, lengthEnd); return *this; }