diff options
author | eihrul <eihrul> | 2010-06-09 21:16:23 +0000 |
---|---|---|
committer | eihrul <eihrul> | 2010-06-09 21:16:23 +0000 |
commit | 572636062e61ad66cc2b4d232394d9de0645baf2 (patch) | |
tree | 1307f92de016aaf9fc32179eff193a820d49c2b6 /docs | |
parent | 2d985dba913f815302b8fb86c9ff0956f3c2f1a3 (diff) | |
download | enet-572636062e61ad66cc2b4d232394d9de0645baf2.tar.gz enet-572636062e61ad66cc2b4d232394d9de0645baf2.zip |
1.3.0 import
Diffstat (limited to 'docs')
-rwxr-xr-x | docs/mainpage.dox | 11 | ||||
-rwxr-xr-x | docs/tutorial.dox | 4 |
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) { |