1998Q1/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: OT: Socket programming &#45; platform specific -->
<!--X-From-R13: "Xba O. Znzoreg" <wyflfvapNvk.argpbz.pbz> -->
<!--X-Date: Thu, 22 Jan 1998 23:23:50 +0000 -->
<!--X-Message-Id: 199801222333.RAA10727@dfw&#45;ix4.ix.netcom.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 34C83653.278B#dial,pipex.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, OT: Socket programming - platform specific</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:jlsysinc#ix,netcom.com">
</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>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00287.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00289.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00287.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00412.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00288">Author</A>
&nbsp;|&nbsp;<A HREF="#00288">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00288">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>OT: Socket programming - platform specific</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: OT: Socket programming - platform specific</LI>
<LI><em>From</em>: "Jon A. Lambert" &lt;<A HREF="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</A>&gt;</LI>
<LI><em>Date</em>: Thu, 22 Jan 1998 18:35:24 -4</LI>
<LI><em>Comments</em>: Authenticated sender is &lt;jlsysinc#popd,ix.netcom.com&gt;</LI>
<LI><em>Reply-to</em>: <A HREF="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On 22 Jan 98 at 13:19, Richard Woolcock wrote:
&gt; Vadim Tkachenko wrote:
&gt; &gt; 
&gt; &gt; Richard Woolcock wrote:
&gt; &gt; 
&gt; &gt; [skipped]
&gt; &gt; 
&gt; &gt; &gt; Out of interest, can anyone recommend a good book on socket programming?
&gt; &gt; &gt; It a skill I'm sadly lacking to any useful degree...all I need to do then
&gt; &gt; &gt; is work out how to draw a pixel on the screen, and the rest I can do ;)
&gt; &gt; 
&gt; &gt; You don't have to be _really_ good at sockets. I don't know how that
&gt; &gt; applies to your programming environment (what is it, can you please
&gt; &gt; remind?), but for me (C++, then Java) just the generalization of sockets
&gt; &gt; as streams worked pretty good - keeping in mind the reusability as well.
&gt; 
&gt; Hmmm well I'd like to get a front end (probably in C++) which would run
&gt; under DOS or windows, and the mud part (which I can probably manage just
&gt; about) running under Linux/FreeBSD/NetBSD.
&gt; 

Win32s,Win95 and WinNT sockets programming is virtually identical to
Unix BSD sockets.  The only calls that are not supported are read() and 
write().  This is because Win does not treat sockets as extensions of the
file handling system.  You must use send() and recv().  There are 
two calls WSAStartup and WSACleanup that must be used to load the DLL
and shut it down gracefully.  And there are are number of extensions 
for ASYNC versions of lookup functions (WSAAsyncGetHostByName(), etc.)
and for setting your own blocking hooks.  Error handling is very well
done and easy to use with WSAGetLastError() and WSASetLastError(). 

DOS does not support sockets, although there are a couple of freely
available libraries.  Check out &lt;<A  HREF="http://www.delorie.com/">http://www.delorie.com/</A>&gt;.  I haven't
tries any of them though.

If you have any specific questions, drop me an E-Mail... 

--
--/*\ Jon A. Lambert - TychoMUD     Internet:jlsysinc#ix,netcom.com /*\--
--/*\ Mud Server Developer's Page &lt;<A  HREF="http://www.netcom.com/~jlsysinc">http://www.netcom.com/~jlsysinc</A>&gt; /*\--
--/*\   "Everything that deceives may be said to enchant" - Plato   /*\--

</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00287" HREF="msg00287.html">Re: [MUD-Dev] Socket programming (was: The impact of the web on muds)</A></STRONG>
<UL><LI><EM>From:</EM> Richard Woolcock &lt;KaVir#dial,pipex.com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00287.html">Re: [MUD-Dev] Socket programming (was: The impact of the web on muds)</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00289.html">Graphical mud perspectives</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00287.html">Re: [MUD-Dev] Socket programming (was: The impact of the web on muds)</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00412.html">Re: [MUD-Dev]  The impact of the web on muds</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00288"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00288"><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]  The impact of the web on muds</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00258" HREF="msg00258.html">Re: [MUD-Dev]  The impact of the web on muds</A></strong>, 
Richard Woolcock <a href="mailto:KaVir#dial,pipex.com">KaVir#dial,pipex.com</a>, Tue 20 Jan 1998, 00:31 GMT
<UL>
<LI><strong><A NAME="00259" HREF="msg00259.html">Re: [MUD-Dev]  The impact of the web on muds</A></strong>, 
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Tue 20 Jan 1998, 02:52 GMT
</LI>
<LI><strong><A NAME="00285" HREF="msg00285.html">Re: [MUD-Dev] Socket programming (was: The impact of the web on muds)</A></strong>, 
Vadim Tkachenko <a href="mailto:vadimt#4cs,com">vadimt#4cs,com</a>, Thu 22 Jan 1998, 20:35 GMT
<UL>
<LI><strong><A NAME="00287" HREF="msg00287.html">Re: [MUD-Dev] Socket programming (was: The impact of the web on muds)</A></strong>, 
Richard Woolcock <a href="mailto:KaVir#dial,pipex.com">KaVir#dial,pipex.com</a>, Thu 22 Jan 1998, 21:14 GMT
<UL>
<LI><strong><A NAME="00288" HREF="msg00288.html">OT: Socket programming - platform specific</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Thu 22 Jan 1998, 23:23 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00412" HREF="msg00412.html">Re: [MUD-Dev]  The impact of the web on muds</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Thu 12 Feb 1998, 01:38 GMT
<UL>
<LI><strong><A NAME="00426" HREF="msg00426.html">Socket programming (Was: The impact of the web on muds)</A></strong>, 
Jon Leonard <a href="mailto:jleonard#divcom,umop-ap.com">jleonard#divcom,umop-ap.com</a>, Thu 12 Feb 1998, 05:45 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00418" HREF="msg00418.html">Re: [MUD-Dev]  The impact of the web on muds</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Thu 12 Feb 1998, 02:19 GMT
</LI>
</UL>
</LI>
</ul>
<LI><strong><A NAME="00411" HREF="msg00411.html">Re: [MUD-Dev]  The impact of the web on muds</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Thu 12 Feb 1998, 01:01 GMT
</LI>
</ul>
</ul>
</ul>
</ul>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>