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.
udpBroadcastSocket.h
00001 #ifndef UDPBROADCASTSOCKET_H 00002 #define UDPBROADCASTSOCKET_H 00003 00004 #include "Socket/UDPSocket.h" 00005 #include <cstdint> 00006 00007 /** 00008 UDP Broadcast Socket 00009 // Allows one-to-many communication over ethernet 00010 // Override an UDP Socket with additional flag 00011 // when initing or binding a port use init(SO_BROADCAST) or bind(port,SO_BROADCAST) respectively. 00012 // Note multicasting many be more suitable for some applications, but isn't support by this socket. 00013 */ 00014 class UDPBroadcastSocket : public UDPSocket { 00015 00016 public: 00017 int init(int optionFlags); 00018 int bind(int port,int optionFlags); 00019 }; 00020 #endif
Generated on Tue Jul 19 2022 21:21:06 by
1.7.2