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.
Fork of Socket by
Revision 20:c35d004aaf72, committed 2015-04-14
- Comitter:
- clemounet
- Date:
- Tue Apr 14 13:27:34 2015 +0000
- Parent:
- 19:434906b5b977
- Commit message:
- MySocket stuffs
Changed in this revision
UDPSocket.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/UDPSocket.cpp Mon Aug 19 18:38:18 2013 +0300 +++ b/UDPSocket.cpp Tue Apr 14 13:27:34 2015 +0000 @@ -50,13 +50,13 @@ } int UDPSocket::join_multicast_group(const char* address) { - struct ip_mreq mreq; + /*struct ip_mreq mreq; // Set up group address mreq.imr_multiaddr.s_addr = inet_addr(address); mreq.imr_interface.s_addr = htonl(INADDR_ANY); - return set_option(IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq)); + return set_option(IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq));*/ } int UDPSocket::set_broadcasting(bool broadcast) {