[enet-cvs] CVS: enet/pyenet licence.txt,1.1,1.2 readme.txt,1.1,1.2

Brian Hook (ENet CVS) brianh at sferik.cubik.org
Thu Dec 4 12:07:59 PST 2003


Update of /home/enet/cvsroot/enet/pyenet
In directory sferik:/tmp/cvs-serv16768/OpenSource/enet/pyenet

Modified Files:
	licence.txt readme.txt 
Log Message:


Index: licence.txt
===================================================================
RCS file: /home/enet/cvsroot/enet/pyenet/licence.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- licence.txt	2003/05/22 22:16:15	1.1
+++ licence.txt	2003/12/04 20:07:56	1.2
@@ -1,10 +1,10 @@
-Copyright (c) 2003, Ling Lo
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-The names of its contributors may not be used to endorse or promote products derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
+Copyright (c) 2003, Ling Lo
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+The names of its contributors may not be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+

Index: readme.txt
===================================================================
RCS file: /home/enet/cvsroot/enet/pyenet/readme.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- readme.txt	2003/05/22 22:16:15	1.1
+++ readme.txt	2003/12/04 20:07:56	1.2
@@ -1,47 +1,47 @@
-Module Summary
-
-Constants
-
-EVENT_NONE - Hopefully never get this and can remove
-EVENT_CONNECT - Event type, new peer
-EVENT_DISCONNECT - Event type, lost peer
-EVENT_RECEIVE - Event type, contains data
-FLAG_RELIABLE - Use when sending packets to indicate reliable
-
-Contains one function to create a host:
-
-host host((addr, port), int peercount, int incomingbandwidth,
-                                       int outgoingbandwidth)
-    For creating servers.
-
-host host(int peercount, int incomingbandwidth, int outgoingbandwidth)
-    For creating clients
-
-Host Object
-===========
-void host.destroy()
-peer host.connect((string addr, int port), int numchannels)
-result, event host.service(int timeout)
-void host.flush()
-void host.broadcast(int channel, string data, int flags)
-void host.bandwidthlimit(int incomingbandwidth, int outgoingbandwidth)
-
-Peer Object
-===========
-int peer.ping - in ms
-int peer.packetloss
-
-void peer.send(int channel, string data, int flags)
-string peer.receive(int channel)
-void peer.ping()
-void peer.reset()
-void peer.disconnect()
-void peer.throttle_configure(int interval, int accel, int decel)
-
-Event Object
-============
-int event.type
-peer event.peer
-int event.channel
-string event.data
-
+Module Summary
+
+Constants
+
+EVENT_NONE - Hopefully never get this and can remove
+EVENT_CONNECT - Event type, new peer
+EVENT_DISCONNECT - Event type, lost peer
+EVENT_RECEIVE - Event type, contains data
+FLAG_RELIABLE - Use when sending packets to indicate reliable
+
+Contains one function to create a host:
+
+host host((addr, port), int peercount, int incomingbandwidth,
+                                       int outgoingbandwidth)
+    For creating servers.
+
+host host(int peercount, int incomingbandwidth, int outgoingbandwidth)
+    For creating clients
+
+Host Object
+===========
+void host.destroy()
+peer host.connect((string addr, int port), int numchannels)
+result, event host.service(int timeout)
+void host.flush()
+void host.broadcast(int channel, string data, int flags)
+void host.bandwidthlimit(int incomingbandwidth, int outgoingbandwidth)
+
+Peer Object
+===========
+int peer.ping - in ms
+int peer.packetloss
+
+void peer.send(int channel, string data, int flags)
+string peer.receive(int channel)
+void peer.ping()
+void peer.reset()
+void peer.disconnect()
+void peer.throttle_configure(int interval, int accel, int decel)
+
+Event Object
+============
+int event.type
+peer event.peer
+int event.channel
+string event.data
+



More information about the enet-cvs mailing list