[Mono-bugs] [Bug 329649] Socket(SocketInformation) constructor not implemented.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Nov 1 17:19:57 EDT 2007
https://bugzilla.novell.com/show_bug.cgi?id=329649#c1
Dick Porter <dick at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|Normal |Enhancement
--- Comment #1 from Dick Porter <dick at novell.com> 2007-11-01 15:19:56 MST ---
After researching the gaps in the documentation, I've found:
http://blogs.msdn.com/malarch/archive/2005/12/14/503884.aspx (Socket
Duplication, pt 1)
http://blogs.msdn.com/malarch/archive/2005/12/26/507461.aspx (Socket
Duplication, pt 2)
which explain that the SocketInformation.ProtocolInformation property holds a
WSAPROTOCOL_INFO struct. This is obtained from an unmanaged
WSADuplicateSocket() call, which is used for passing sockets to other
processes.
To implement this on Linux (and POSIX) systems will involve passing file
descriptors over Unix domain sockets using sendmsg(). Doable, but with
problems: the ugliest being, do we have each process listen on a socket from
startup; or do we somehow interrupt and signal a process to tell it to pick up
a fd we're trying to send to it?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list