-
Notifications
You must be signed in to change notification settings - Fork 166
Open
Labels
Element: Socket StacksIssues related to OS socket APIs, TIdStack and TIdSocketList descedants, etcIssues related to OS socket APIs, TIdStack and TIdSocketList descedants, etcStatus: ReportedIssue has been reported for reviewIssue has been reported for reviewType: EnhancementIssue is proposing a new feature/enhancementIssue is proposing a new feature/enhancement
Description
Add BroadcastIP property to TIdStackLocalAddressIPv4. On platforms with getifaddrs() available, simply return the ifaddrs.ifa_broadaddr field if the ifaddrs.ifa_flags field contains the IFF_BROADCAST flag. Otherwise, calculate the broadcast IP manually using the adapter's IP address and subnet mask:
broadcastIP := adapterIP or (not subnetMask);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Element: Socket StacksIssues related to OS socket APIs, TIdStack and TIdSocketList descedants, etcIssues related to OS socket APIs, TIdStack and TIdSocketList descedants, etcStatus: ReportedIssue has been reported for reviewIssue has been reported for reviewType: EnhancementIssue is proposing a new feature/enhancementIssue is proposing a new feature/enhancement