X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ba6a836246ee6768c29d50adfe9fee30221da8e..4813bb8d72d4e6821e031f2b19baaa338b714d39:/src/mac/carbon/gsocket.cpp?ds=inline diff --git a/src/mac/carbon/gsocket.cpp b/src/mac/carbon/gsocket.cpp index 04441b27df..1b14f7d3a0 100644 --- a/src/mac/carbon/gsocket.cpp +++ b/src/mac/carbon/gsocket.cpp @@ -1314,6 +1314,11 @@ GSocketError GAddress_INET_SetHostName(GAddress *address, const char *hostname) return GSOCK_NOERROR; } +GSocketError GAddress_INET_SetBroadcastAddress(GAddress *address) +{ + return GAddress_INET_SetHostAddress(address, INADDR_BROADCAST); +} + GSocketError GAddress_INET_SetAnyAddress(GAddress *address) { return GAddress_INET_SetHostAddress(address, INADDR_ANY);