aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rwxr-xr-xdocs/mainpage.dox11
-rwxr-xr-xdocs/tutorial.dox4
2 files changed, 9 insertions, 6 deletions
diff --git a/docs/mainpage.dox b/docs/mainpage.dox
index eafb0be..8c32b49 100755
--- a/docs/mainpage.dox
+++ b/docs/mainpage.dox
@@ -7,10 +7,10 @@ network communication layer on top of UDP (User Datagram Protocol).
The primary feature it provides is optional reliable, in-order
delivery of packets.
-ENet is NOT intended to be a general purpose high level networking
-library that handles authentication, lobbying, server discovery,
-compression, encryption and other high level, often application level
-or dependent tasks.
+ENet omits certain higher level networking features such as authentication,
+lobbying, server discovery, encryption, or other similar tasks that are
+particularly application specific so that the library remains flexible,
+portable, and easily embeddable.
@ref Features
@@ -36,7 +36,8 @@ or dependent tasks.
You can retrieve the source to ENet by downloading it in either .tar.gz form
or accessing the cvs distribution directly.
-The most recent stable release (1.2.2) can be downloaded <a href="http://enet.bespin.org/download/enet-1.2.2.tar.gz">here</a>.
+The most recent stable release (1.3.0) can be downloaded <a href="http://enet.bespin.org/download/enet-1.3.0.tar.gz">here</a>.
+The last release that is protocol compatible with the 1.2 series or earlier (1.2.2) can be downloaded <a href="http://enet.bespin.org/download/enet-1.3.0.tar.gz">here</a>
To access ENet via anonymous CVS, you must use the CVSROOT
:pserver:anonymous\@bespin.org:/var/lib/cvs/enet with an empty
diff --git a/docs/tutorial.dox b/docs/tutorial.dox
index 62e615f..dd911d3 100755
--- a/docs/tutorial.dox
+++ b/docs/tutorial.dox
@@ -73,6 +73,7 @@ and the resources used by the host will be freed.
server = enet_host_create (& address /* the address to bind the server host to */,
32 /* allow up to 32 clients and/or outgoing connections */,
+ 2 /* allow up to 2 channels to be used, 0 and 1 */,
0 /* assume any amount of incoming bandwidth */,
0 /* assume any amount of outgoing bandwidth */);
if (server == NULL)
@@ -100,6 +101,7 @@ may be simultaneously open.
client = enet_host_create (NULL /* create a client host */,
1 /* only allow 1 outgoing connection */,
+ 2 /* allow up 2 channels to be used, 0 and 1 */,
57600 / 8 /* 56K modem with 56 Kbps downstream bandwidth */,
14400 / 8 /* 56K modem with 14 Kbps upstream bandwidth */);
@@ -321,7 +323,7 @@ ENET_EVENT_TYPE_DISCONNECT will be generated.
address.port = 1234;
/* Initiate the connection, allocating the two channels 0 and 1. */
- peer = enet_host_connect (client, & address, 2);
+ peer = enet_host_connect (client, & address, 2, 0);
if (peer == NULL)
{