[Mono-bugs] [Bug 74673][Wis] Changed - [PATCH] New UnixListener and UnixClient classes
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 20 Apr 2005 18:26:21 -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.
http://bugzilla.ximian.com/show_bug.cgi?id=74673
--- shadow/74673 2005-04-20 12:16:45.000000000 -0400
+++ shadow/74673.tmp.13937 2005-04-20 18:26:21.000000000 -0400
@@ -1,22 +1,21 @@
Bug#: 74673
Product: Mono: Class Libraries
Version: 1.1
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Wishlist
Component: Mono.POSIX
AssignedTo: mono-bugs@ximian.com
ReportedBy: joeshaw@novell.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
-Cc:
Summary: [PATCH] New UnixListener and UnixClient classes
In a similar vein to the TcpListener and TcpClasses, I've implemented
UnixListener and UnixClient classes which use the UnixEndPoint in Mono.Posix.
This is a first pass, so it undoubtedly needs at least a little tweaking.
@@ -27,6 +26,21 @@
------- Additional Comments From joeshaw@novell.com 2005-04-20 12:16 -------
Created an attachment (id=14985)
UnixClient class
+
+------- Additional Comments From gonzalo@ximian.com 2005-04-20 18:26 -------
+I have these 2 files ready to commit in Mono.Posix/Mono.Unix along
+with a fix that went to Mono.Posix/UnixEndPoint.cs and is not in
+Mono.Unix/UnixEndPoint.cs
+
+The only problem that I see is that UnixListener removes the file
+before binding, which may cause problems if other program has already
+bound it. For this, XSP checks if the file exists and tries to
+connect. If Connect() succeeds, XSP fails with an
+InvalidOperationException or something similar.
+
+Jon, ok to commit these files and the fix to UnixEndPoint in
+Mono.Unix? Any comment on the behavior in the listener when the file
+already exists?