@@ -111,10 +111,13 @@ @interface OFDatagramSocket: OFObject { of_socket_t _socket; bool _blocking; +#ifdef OF_WII + bool _broadcastAllowed; +#endif id _Nullable _delegate; OF_RESERVE_IVARS(4) } /*! @@ -122,10 +125,15 @@ * * By default, a socket is in blocking mode. */ @property (nonatomic, getter=isBlocking) bool blocking; +/*! + * @brief Whether the socket is allowed to send to broadcast addresses. + */ +@property (nonatomic, getter=isBroadcastAllowed) bool broadcastAllowed; + /*! * @brief The delegate for asynchronous operations on the socket. * * @note The delegate is retained for as long as asynchronous operations are * still ongoing.