[Spread-cvs] commit: r370 - branches/branch_3_17/daemon
jonathan at spread.org
jonathan at spread.org
Fri Nov 17 14:31:06 EST 2006
Author: jonathan
Date: 2006-11-17 14:31:06 -0500 (Fri, 17 Nov 2006)
New Revision: 370
Modified:
branches/branch_3_17/daemon/Changelog
branches/branch_3_17/daemon/network.c
Log:
Do not bind to broadcast address
on windows,as it is not permitted. Sockets bound to specific
interfaces on windows will also receive broadcasts. Bug
reported by Michael Chelnokov.
Modified: branches/branch_3_17/daemon/Changelog
===================================================================
--- branches/branch_3_17/daemon/Changelog 2006-11-17 18:47:07 UTC (rev 369)
+++ branches/branch_3_17/daemon/Changelog 2006-11-17 19:31:06 UTC (rev 370)
@@ -1,3 +1,10 @@
+Fri Nov 17 13:43:42 2006 Jonathan Stanton <jonathan at cnds.jhu.edu>
+
+ * network.c (Net_init): Do not bind to broadcast address
+ on windows,as it is not permitted. Sockets bound to specific
+ interfaces on windows will also receive broadcasts. Bug
+ reported by Michael Chelnokov.
+
Wed Nov 15 10:27:33 2006 Jonathan Stanton <jonathan at cnds.jhu.edu>
* sp.c (connect_nointr_timeout): Move wait_timeout
Modified: branches/branch_3_17/daemon/network.c
===================================================================
--- branches/branch_3_17/daemon/network.c 2006-11-17 18:47:07 UTC (rev 369)
+++ branches/branch_3_17/daemon/network.c 2006-11-17 19:31:06 UTC (rev 370)
@@ -130,7 +130,9 @@
else {
interface_addr = My.ifc[i].ip;
if (Bcast_needed && !bcast_bound) {
+#ifndef ARCH_PC_WIN95
Bcast_channel[Num_bcast_channels++] = DL_init_channel( RECV_CHANNEL, My.port, Bcast_address, Bcast_address );
+#endif
bcast_bound = TRUE;
}
}
More information about the Spread-cvs
mailing list