]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/cfsocket.cpp
Use IsOk() instead of Ok()
[wxWidgets.git] / src / mac / carbon / cfsocket.cpp
index a8a331f03d5b0ed032ba0c8ed56af515540a7d07..8a2383c7f5772a075bbf356a0cc7310a42f04f10 100644 (file)
@@ -1562,6 +1562,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);