Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/enet-1.1/docs/html/Installation.html @ 13

Last change on this file since 13 was 13, checked in by landauf, 16 years ago

added enet

File size: 2.3 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>enet: Installation</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.1 -->
8<div class="tabs">
9  <ul>
10    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11    <li><a href="modules.html"><span>Modules</span></a></li>
12    <li><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
13    <li><a href="files.html"><span>Files</span></a></li>
14    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
15  </ul></div>
16<h1><a class="anchor" name="Installation">Installation</a></h1>ENet should be trivially simple to integrate with most applications.<p>
17First, make sure you download the latest source distribution here <a class="el" href="SourceDistro.html">Source Distribution</a>.<h2><a class="anchor" name="Unix">
18Unix-like Operating Systems</a></h2>
19[to be completed]<h3><a class="anchor" name="SolarisBSD">
20Solaris and BSD</a></h3>
21When building ENet under Solaris, you must specify the -lsocket and -lnsl parameters to your compiler to ensure that the sockets library is linked in.<h2><a class="anchor" name="Windows">
22Microsoft Windows</a></h2>
23Using MSVC 6 under Windows simply drag all the ENet source files into your main project or, better yet, create a new static library project and make your executable dependent (Project|Dependencies) on ENet. There is also an enet.dsp provided.<p>
24You will have to link to the Winsock2 libraries, so make sure to add ws2_32.lib to your library list (Project Settings | Link | Object/library modules).<h3><a class="anchor" name="DLL">
25DLL</a></h3>
26If you wish to build ENet as a DLL you must first define ENET_DLL within the project (Project Settings | C/C++ | Preprocessor | Preprocessor definitions) or, more invasively, simply define ENET_DLL at the top of <a class="el" href="enet_8h.html">enet.h</a>. <hr size="1"><address style="align: right;"><small>Generated on Wed Jun 6 14:33:50 2007 for enet by&nbsp;
27<a href="http://www.doxygen.org/index.html">
28<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
29</body>
30</html>
Note: See TracBrowser for help on using the repository browser.