You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by "Goetz, Philippe" <Ph...@siemens.com> on 2011/01/24 11:36:00 UTC

[PATCH] apr-1.4.2-win32-src.zip - Broadcast sockets

Hi,

Windows behaviour is as ever strange. Under linux, you can sendto/recvfrom broadcast address using a socket bound to the broadcast address. Under Windows, this is not possible, you have to do a setsockopt SO_BROADCAST. Here the patch for this.



Mit freundlichen Grüßen
Philippe Goetz

Siemens AG
Industry Sector
Building Technologies Division
Fire Safety & Security Products
I BT FS SYS R&D MCH MN
Siemensallee 84
76187 Karlsruhe, Deutschland
Tel.: +49 (721) 595-8006
Fax: +49 (721) 595-2606
mailto:philippe.goetz@siemens.com

Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Gerhard Cromme; Vorstand: Peter Löscher, Vorsitzender; Wolfgang Dehen, Brigitte Ederer, Joe Kaeser, Barbara Kux, Hermann Requardt, Siegfried Russwurm, Peter Y. Solmssen; Sitz der Gesellschaft: Berlin und München, Deutschland; Registergericht: Berlin Charlottenburg, HRB 12300, München, HRB 6684; WEEE-Reg.-Nr. DE 23691322