[Bug 17195] NamedPipe datagrams need to be _really_ datagrams

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Feb 14 12:04:16 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=17195





--- Comment #23 from Luke Kenneth Casson Leighton <lkcl at lkcl.net>  2009-02-14 12:04:16 ---
Created an attachment (id=19449)
 --> (http://bugs.winehq.org/attachment.cgi?id=19449)
design / data structure document

here's a write-up of the design i had to do.
socketpairs have to be used in "simplex" NOT duplex.  if you try to use
a socketpair for both reading and writing.... err... how?  you have
ten messages written by client-to-server but only two written server-to-client,
how do you preserve message-mode semantics _and_ save a few socketpairs?
i don't want to think about how nasty the design would be - safer to
just use the socketpairs for a single purpose: write in only one of them,
and only read from the other.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list