<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
You can send Unordered packets using a range of channels and send the
packets <iframe style="height: 1px; width: 1px; position: absolute;"
id="soundFrame" frameborder="0"></iframe>
<script type="text/javascript">
<!--
//hello
var IFrameObj = document.getElementById("soundFrame");
function playIt(soundUrl) {
        IFrameObj.src = "about:blank";
        IFrameObj.src = soundUrl;
        setTimeout("endPlay()", 10000);
}
function endPlay() {
        IFrameObj.src = "about:blank"; //so refresh won't replay sound
}
// -->
</script> <span class="hw">sequentially in those channels. e.g: If you
reserve [min, max] for unordered send, the next code snip will work
like an unordered send.<br>
<br>
<tt> packet = enet_packet_create( msg, size,
ENET_PACKET_FLAG_RELIABLE );<br>
enet_peer_send( server, unorderedChannel, packet);<br>
++this->unorderedChannel;<br>
if( unorderedChannel > MAX_UNORDERED ) {<br>
unorderedChannel = MIN_UNORDERED;<br>
}<br>
</tt></span><br>
Luis | Tragnarion<br>
<br>
Tibor Klajnscek wrote:
<blockquote cite="mid442AEF71.8060302@gmail.com" type="cite">
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
Yes, as far as I know it should. It is the way enet works - it won't
send another reliable packet until the previous one gets through.
Assuming you send them on the same channel of course.<br>
<br>
- Tibor<br>
<br>
<a class="moz-txt-link-abbreviated"
href="mailto:siquan@ms16.hinet.net">siquan@ms16.hinet.net</a> wrote:
<blockquote
cite="mid996583198.1143626432639.JavaMail.nobody@sg1000-ap-1"
type="cite">
<div>
<pre>        If the server send packets with ENET_PACKET_FLAG_RELIABLE,
        the client will receive them by order?
        Best regards,
        Si-Quan </pre>
</div>
</blockquote>
</blockquote>
</body>
</html>