<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://panoptic.com/mediawiki/aolserver/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Neustradamus</id>
	<title>AOLserver Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://panoptic.com/mediawiki/aolserver/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Neustradamus"/>
	<link rel="alternate" type="text/html" href="https://panoptic.com/wiki/aolserver/Special:Contributions/Neustradamus"/>
	<updated>2026-04-25T20:17:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_build_AOLserver_on_Win32&amp;diff=5342</id>
		<title>How to build AOLserver on Win32</title>
		<link rel="alternate" type="text/html" href="https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_build_AOLserver_on_Win32&amp;diff=5342"/>
		<updated>2009-09-29T22:36:43Z</updated>

		<summary type="html">&lt;p&gt;Neustradamus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; &amp;gt; Are the Windows makefiles (or whatever) and build instructions in CVS&lt;br /&gt;
 &amp;gt; yet?&lt;br /&gt;
&lt;br /&gt;
The build script is in CVS HEAD (win32/build.tcl) but there are NO&lt;br /&gt;
instructions yet.  Expect to see a &amp;quot;How to build AOLserver on Win32&amp;quot; &lt;br /&gt;
page on the wiki, soon.  :-)&lt;br /&gt;
&lt;br /&gt;
The short explanation:&lt;br /&gt;
&lt;br /&gt;
AOLserver can now be built on Win32 as native binaries with completely free (no cost) tools from Microsoft.  You will need:&lt;br /&gt;
* [http://msdn.microsoft.com/visualc/vctoolkit2003/ Microsoft Visual C++ Toolkit 2003]&lt;br /&gt;
* [http://www.microsoft.com/msdownload/platformsdk/sdkupdate/ Microsoft Windows Platform SDK]&lt;br /&gt;
* [http://www.microsoft.com/downloads/details.aspx?familyid=9b3a2ca6-3647-4070-9f41-a333c6b9181d&amp;amp;displaylang=en Microsoft .NET Framework SDK Version 1.1]&lt;br /&gt;
&lt;br /&gt;
You'll need to jump through some hoops to configure your environment variables correctly, as well as copying msvcrtd.lib from the .NET Framework lib/ directory into your VC++ lib/ directory, as well as some other things that I didn't keep track of.  If you run into problems, just ask.&lt;br /&gt;
&lt;br /&gt;
''(I should probably add notes in here about how to build Tcl, too.  In the meantime, here's a link to the Tcl'ers Wiki: [http://wiki.tcl.tk/11431 Building Tcl with the free VC++ toolkit].)''&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; vcvars32.bat&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; cd \path\to\aolserver\source&lt;br /&gt;
&lt;br /&gt;
    C:\...&amp;gt; tclsh win32\build.tcl&lt;br /&gt;
&lt;br /&gt;
      ... build output scrolls by ...&lt;br /&gt;
&lt;br /&gt;
    C:\...&amp;gt; tclsh win32\build.tcl install&lt;br /&gt;
&lt;br /&gt;
      ... installation output scrolls by ...&lt;br /&gt;
&lt;br /&gt;
    C:\...&amp;gt; cd installed&lt;br /&gt;
&lt;br /&gt;
    C:\...\installed&amp;gt; bin\nsd.exe -ft sample-config.tcl&lt;br /&gt;
&lt;br /&gt;
At this point, you should be up and running.&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&lt;br /&gt;
   1. vcvars32.bat (or whatever it's called) ensures that cl.exe and link.exe are in your PATH, that INCLUDE and LIB variables are set to the appropriate location where VC++'s include and libraries live.&lt;br /&gt;
&lt;br /&gt;
   2. The build.tcl script currently assumes that Tcl was built in ..\tcl_core-8-4-6 (relative to the top of the AOLserver source directory) and when you built Tcl, you did a &amp;quot;nmake -f makefile.vc install INSTALLDIR=installed&amp;quot; so that Tcl was installed into ..\tcl_core-8-4-6\win\installed.  That's just how my build environment is set up -- I plan to enhance the build.tcl script to let you pass in the path to the Tcl install from the command line, but for now it's hard-coded in.&lt;br /&gt;
&lt;br /&gt;
   3. Also, sample-config.tcl from CVS HEAD will work, but the one in the aolserver_v40_bp branch will NOT -- I didn't backport the &amp;quot;fix&amp;quot; to the script yet.&lt;br /&gt;
&lt;br /&gt;
   4. I use Cygwin &amp;quot;cvs&amp;quot; to check the code out of CVS, then start a regular DOS &amp;quot;cmd.exe&amp;quot; shell to do the actual build.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''CAVEATS'''&lt;br /&gt;
&lt;br /&gt;
[http://support.microsoft.com/?kbid=314882 314882 - Inbound Connections Limit in Windows XP] - In benchmarking the latest builds, I ran into a problem where setting concurrency above 5 (I'm using WinXP) results in every connection being refused and failing.  Apparently, after Win9x, Microsoft has crippled the IP stack with this licensing restriction in the non-&amp;quot;Server&amp;quot; versions of their operating systems.  This is a terrible shame.  However, there ought to be a way to configure AOLserver to stay &amp;quot;within the limits&amp;quot; and not try to accept more connections than allowed, otherwise once incoming traffic exceeds the limit, ALL connections get dropped -- very unreasonable behavior.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Question: Have you tried to build nsjk2 yet?  pgw&lt;br /&gt;
&lt;br /&gt;
[[Dossy]] 26jul04 - ''No, I haven't, yet.  Are you interested in it (i.e., would you do the testing) since I have little experience with nsjk2 and there's probably zero interest within AOL to see nsjk2 on Win32 (although I haven't asked around yet) ... so any testing of nsjk2 on Win32 will be community-driven if at all.''&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Category Documentation]] - [[Tutorials]]&lt;/div&gt;</summary>
		<author><name>Neustradamus</name></author>
		
	</entry>
</feed>