[Mono-bugs] [Bug 70390][Wis] Changed - Socket code won't run
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 9 Dec 2004 17:34:16 -0500 (EST)
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 dick@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=70390
--- shadow/70390 2004-12-09 16:17:35.000000000 -0500
+++ shadow/70390.tmp.26382 2004-12-09 17:34:16.000000000 -0500
@@ -1,14 +1,14 @@
Bug#: 70390
Product: Mono: Runtime
Version: 1.1
OS: Solaris [Other]
OS Details: Solaris 9
-Status: NEW
-Resolution:
-Severity:
+Status: RESOLVED
+Resolution: NOTABUG
+Severity: Unknown
Priority: Wishlist
Component: io-layer
AssignedTo: mono-bugs@ximian.com
ReportedBy: harris_max@yahoo.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -60,6 +60,25 @@
A similar thing happens on Mono 1.0.4 when running on Linux.
------- Additional Comments From harris_max@yahoo.com 2004-12-09 16:17 -------
Created an attachment (id=13465)
Ping in C#
+
+------- Additional Comments From dick@ximian.com 2004-12-09 17:34 -------
+Try commenting out the lines:
+
+PingSocket.SetSocketOption( SocketOptionLevel.Socket,
+SocketOptionName.ReceiveTimeout, (int) lngPingTimeout);
+
+and:
+
+PingSocket.SetSocketOption( SocketOptionLevel.Socket,
+SocketOptionName.SendTimeout, (int) lngPingTimeout);
+
+Linux doesn't support setting those options. (Error 10042 is
+ENOPROTOOPT, I'll add that entry to the list of messages.)
+
+(Linux 2.6 also doesn't seem to like shutdown() on a raw or ICMP
+socket either, so you'll have to comment out
+PingSocket.Shutdown(SocketShutdown.Both); too)
+