[Mono-bugs] [Bug 44281][Cri] Changed - Socket.Poll always returns false (Udp)

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 6 Apr 2004 16:38:46 -0400 (EDT)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gonzalo@ximian.com.


--- shadow/44281	2003-06-07 13:59:50.000000000 -0400
+++ shadow/44281.tmp.18801	2004-04-06 16:38:46.000000000 -0400
@@ -1,23 +1,23 @@
 Bug#: 44281
-Product: Mono/Class Libraries
+Product: Mono: Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: Red Hat 9
-Status: NEEDINFO   
+Status: CLOSED   
 Severity: Unknown
 Priority: Critical
 Component: System
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: giuseppe.greco@agamura.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
-Summary: Socket.Poll always returns false
+Summary: Socket.Poll always returns false (Udp)
 Socket.Poll() always return false when checking
 for new datagrams.
 Here's how to reproduce the problem:
@@ -169,6 +169,58 @@
 My Mono distribution was 2 weeks old...
 Well, I've just checked out the very last
 version of Mono from CVS, but it doesn't
 work at all; I cannot run any Mono app
 (also mcs -v doesn't work - it never
 comes back).
+------- Additional Comments From giuseppe.greco@agamura.com  2003-11-27 14:23 -------
+If sender.exe and receiver.exe are executed on different machines,
+there are no problems at all: I'm able to send and receive unicast,
+multicast, and broadcast datagrams...
+But if sender.exe and receiver.exe are excuted on the same machine,
+only unicast datagrams are sent or received, while multicast and
+broadcast datagrams are just ignored (Socket.Poll() always returns
+That's very strange since on my RH9 machine multicast and broadcast
+are enabled...
+I hope that helps.
+------- Additional Comments From dick@ximian.com  2003-11-30 06:24 -------
+I'm sure this is a problem with your machine:
+[dick@mearc /tmp] [11:22AM] 
+:; cat /etc/redhat-release 
+Red Hat Linux release 9 (Shrike)
+[dick@mearc /tmp] [11:22AM] 
+:; mono receiver.exe&
+[1] 16545
+[dick@mearc /tmp] [11:22AM] 
+:; mono sender.exe 
+Hello World
+------- Additional Comments From dick@ximian.com  2003-11-30 06:25 -------
+Created an attachment (id=6044)
+sender.cs with syntax errors fixed
+------- Additional Comments From dick@ximian.com  2003-11-30 06:26 -------
+Created an attachment (id=6045)
+receiver.cs with syntax errors fixed
+------- Additional Comments From gonzalo@ximian.com  2004-04-06 16:38 -------
+This works now.
+May be you needed to set the route properly. Something like:
+route add dev eth0
+for multicast.