<!-- MHonArc v2.4.4 --> <!--X-Subject: RE: [MUD-Dev] Sockets --> <!--X-From-R13: Quevf Uenl <ptNnzv-pt.UenlEntr.Sqzbagba.OP.QO> --> <!--X-Date: Fri, 14 May 1999 01:15:16 -0700 --> <!--X-Message-Id: 199905140447.WAA03580@ami-cg.GraySage.Edmonton.AB.CA --> <!--X-Content-Type: text/plain --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, RE: [MUD-Dev] Sockets</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA"> </head> <body background="/backgrounds/paperback.gif" bgcolor="#ffffff" text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000"> <font size="+4" color="#804040"> <strong><em>MUD-Dev<br>mailing list archive</em></strong> </font> <br> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] <br clear=all><hr> <!--X-Body-Begin--> <!--X-User-Header--> <!--X-User-Header-End--> <!--X-TopPNI--> Date: [ <a href="msg00241.html">Previous</a> | <a href="msg00243.html">Next</a> ] Thread: [ <a href="msg00231.html">Previous</a> | <a href="msg00245.html">Next</a> ] Index: [ <A HREF="author.html#00242">Author</A> | <A HREF="#00242">Date</A> | <A HREF="thread.html#00242">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>RE: [MUD-Dev] Sockets</H1> <HR> <!--X-Subject-Header-End--> <!--X-Head-of-Message--> <UL> <LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> <LI><em>Subject</em>: RE: [MUD-Dev] Sockets</LI> <LI><em>From</em>: Chris Gray <<A HREF="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</A>></LI> <LI><em>Date</em>: Thu, 13 May 1999 22:47:57 -0600</LI> <LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> <LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#kanga,nu</A></LI> </UL> <!--X-Head-of-Message-End--> <!--X-Head-Body-Sep-Begin--> <HR> <!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <PRE> [Caliban Tiresias Darklock:] > Not altogether true... any Windows program can have one (and only one) > console. So you can write a GUI application that HAS NO VISIBLE GUI and > instead uses console I/O for input and output. This gives you pretty much > the best of both worlds; you can create windows and just not display them. > This way, you get all the Windows stuff without having to use the normal > methods of writing the screen or creating an expectation of a WYSIWYG > interface. One minor problem (which may or may not matter to anyone) is that a GUI program doesn't have access to any initial console. At least we've never found out how to make it get at it - if anyone knows how, *please* let me know! Thus, you have to create a new console window, which isn't much different from creating some other GUI window. We'd love it if GetStdHandle(STD_ERROR_HANDLE) got you the console you started the GUI program from! > Incidentally, I'm going to be porting my server's Windows codebase over to > one or more flavors of UNIX (Linux, and anything else it turns out to > compile properly under), so if I do threads (which I may not) we'll have > something to benchmark. > > Oddly, nobody has ever written much of anything anywhere about porting from > Windows to UNIX. I have UNIX to Windows information all over the place, > but... Well, UNIX has been around quite a bit longer, so has a bigger pool of stuff that people try to port. A lot of the Windows software is commercial, or deeply entwined with the Windows way of doing things. (Just me guessing here, of course!) -- Don't design inefficiency in - it'll happen in the implementation. Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA <A HREF="http://www.GraySage.Edmonton.AB.CA/cg/">http://www.GraySage.Edmonton.AB.CA/cg/</A> _______________________________________________ MUD-Dev maillist - MUD-Dev#kanga,nu <A HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A> </PRE> <!--X-Body-of-Message-End--> <!--X-MsgBody-End--> <!--X-Follow-Ups--> <HR> <!--X-Follow-Ups-End--> <!--X-References--> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00241.html">Re: [MUD-Dev] Custom Server Roll Call?</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00243.html">[MUD-Dev] Time Discontinuous MUD</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00231.html">RE: [MUD-Dev] Sockets</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00245.html">RE: [MUD-Dev] Sockets</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00242"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00242"><STRONG>Thread</STRONG></A></LI> </UL> </LI> </UL> <!--X-BotPNI-End--> <!--X-User-Footer--> <!--X-User-Footer-End--> <ul><li>Thread context: <BLOCKQUOTE><UL> <LI><STRONG>RE: [MUD-Dev] Sockets</STRONG>, <EM>(continued)</EM> <ul compact> <ul compact> <ul compact> <ul compact> <LI><strong><A NAME="00296" HREF="msg00296.html">RE: [MUD-Dev] Sockets</A></strong>, Adam Wiggins <a href="mailto:adam#angel,com">adam#angel,com</a>, Tue 18 May 1999, 06:42 GMT </LI> </ul> <LI><strong><A NAME="00224" HREF="msg00224.html">RE: [MUD-Dev] Sockets</A></strong>, Daniel Garcia <a href="mailto:dgarcia#hollyfeld,org">dgarcia#hollyfeld,org</a>, Wed 12 May 1999, 22:36 GMT </LI> </ul> </ul> <LI><strong><A NAME="00220" HREF="msg00220.html">RE: [MUD-Dev] Sockets</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Wed 12 May 1999, 22:27 GMT </LI> <LI><strong><A NAME="00231" HREF="msg00231.html">RE: [MUD-Dev] Sockets</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Fri 14 May 1999, 07:34 GMT </LI> <LI><strong><A NAME="00242" HREF="msg00242.html">RE: [MUD-Dev] Sockets</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Fri 14 May 1999, 08:15 GMT </LI> <LI><strong><A NAME="00245" HREF="msg00245.html">RE: [MUD-Dev] Sockets</A></strong>, Cynbe ru Taren <a href="mailto:cynbe#muq,org">cynbe#muq,org</a>, Fri 14 May 1999, 08:20 GMT <UL> <LI><strong><A NAME="00253" HREF="msg00253.html">RE: [MUD-Dev] Sockets</A></strong>, Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Sat 15 May 1999, 09:31 GMT <UL> <LI><strong><A NAME="00272" HREF="msg00272.html">Re: [MUD-Dev] Sockets</A></strong>, Travis Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Sun 16 May 1999, 21:10 GMT </LI> <LI><strong><A NAME="00293" HREF="msg00293.html">RE: [MUD-Dev] Sockets</A></strong>, Adam Wiggins <a href="mailto:adam#angel,com">adam#angel,com</a>, Tue 18 May 1999, 06:37 GMT </LI> </UL> </LI> </UL> </LI> </ul> </LI> </UL></BLOCKQUOTE> </ul> <hr> <center> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] </center> <hr> </body> </html>