<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.17063" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Blair,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>What I'm doing as a test is&nbsp;to set&nbsp;up 
both a server and a client using ENet, connected through localhost. The server 
echos back anything it receives, and the client prints out statistics after 10 
seconds.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Kind regards,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Philip <FONT face="Times New Roman" 
size=3>Bennefall</FONT></FONT></DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=thynameisblair@chaosandcode.com 
  href="mailto:thynameisblair@chaosandcode.com">Blair Holloway</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=enet-discuss@cubik.org 
  href="mailto:enet-discuss@cubik.org">enet-discuss@cubik.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, July 14, 2010 8:23 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [ENet-discuss] Some ENet 
  issues</DIV>
  <DIV><BR></DIV>Generally, no. 500ms should be adequate; pinging more 
  frequently is just going to take up more bandwidth from ping responses 
  (reliable acks).
  <DIV><BR></DIV>
  <DIV>What are you using for comparison as a "valid" ping? The output of your 
  platform's ping command?</DIV>
  <DIV><BR></DIV>
  <DIV>- Blair<BR><BR>
  <DIV class=gmail_quote>On Wed, Jul 14, 2010 at 3:25 PM, Philip Bennefall <SPAN 
  dir=ltr>&lt;<A 
  href="mailto:philip@u7142039.fsdata.se">philip@u7142039.fsdata.se</A>&gt;</SPAN> 
  wrote:<BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
    <DIV bgcolor="#ffffff">
    <DIV><FONT face=Arial size=2>Hi Blair,</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Do you think it'd be a good idea to decrease 
    the ping interval? Maybe to 200 milliseconds?</FONT></DIV>
    <BLOCKQUOTE 
    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
      <DIV style="FONT: 10pt arial">&nbsp;</DIV>
      <DIV style="FONT: 10pt arial">Kind regards,</DIV>
      <DIV style="FONT: 10pt arial">&nbsp;</DIV>
      <DIV style="FONT: 10pt arial">Philip Bennefall</DIV>
      <DIV>
      <DIV></DIV>
      <DIV class=h5>
      <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
      <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial"><B>From:</B> <A 
      title=thynameisblair@chaosandcode.com 
      href="mailto:thynameisblair@chaosandcode.com" target=_blank>Blair 
      Holloway</A> </DIV>
      <DIV style="FONT: 10pt arial"><B>To:</B> <A title=enet-discuss@cubik.org 
      href="mailto:enet-discuss@cubik.org" 
      target=_blank>enet-discuss@cubik.org</A> </DIV>
      <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, July 14, 2010 7:06 
      AM</DIV>
      <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [ENet-discuss] Some ENet 
      issues</DIV>
      <DIV><BR></DIV>By default, Enet sends (reliable) ping packets every 500ms, 
      if no other reliable traffic was sent in that interval. If you're sending 
      reliable packets 30 times per second instead of 2 times, it's possible 
      Enet is deriving a more accurate average round trip time. 
      <DIV><BR></DIV>
      <DIV>- Blair<BR><BR>
      <DIV class=gmail_quote>On Wed, Jul 14, 2010 at 2:45 PM, Philip Bennefall 
      <SPAN dir=ltr>&lt;<A href="mailto:philip@u7142039.fsdata.se" 
      target=_blank>philip@u7142039.fsdata.se</A>&gt;</SPAN> wrote:<BR>
      <BLOCKQUOTE class=gmail_quote 
      style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
        <DIV bgcolor="#ffffff">
        <DIV><FONT face=Arial size=2>Hi Lee and others,</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>I am having some minor issues with 
        ENet.</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>First, I'm trying to get the average up and 
        downstream for each peer by using the appropriate&nbsp;data 
        fields&nbsp;in the peer structure but it always returns 0 for some 
        reason. The same seems to be true with the host structure as 
        well.</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>Second, when I look at the average round 
        trip time for a peer, this value is only correct if I send out a few 
        reliable packets. on localhost, for instance, I ran a test where I sent 
        30 unreliable packets every second. I poll the network every 5 
        milliseconds, but got an average round trip of 44 milliseconds. When I 
        changed it to reliable packets, however, I got an average of 12 which 
        seems much more reasonable. Is this intended behavior?</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>Thanks in advance for any 
help.</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>Kind regards,</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV><FONT color=#888888>
        <DIV><FONT face=Arial size=2>Philip 
        Bennefall</FONT></DIV></FONT></DIV><BR>_______________________________________________<BR>ENet-discuss 
        mailing list<BR><A href="mailto:ENet-discuss@cubik.org" 
        target=_blank>ENet-discuss@cubik.org</A><BR><A 
        href="http://lists.cubik.org/mailman/listinfo/enet-discuss" 
        target=_blank>http://lists.cubik.org/mailman/listinfo/enet-discuss</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV>
      <P></P>
      <HR>

      <P></P><BR>Internal Virus Database is out of date.<BR>Checked by AVG - <A 
      href="http://www.avg.com" target=_blank>www.avg.com</A> <BR>Version: 
      8.5.432 / Virus Database: 271.1.1/2662 - Release Date: 02/01/10 
      12:37:00<BR>
      <P></P></BLOCKQUOTE></DIV><BR>_______________________________________________<BR>ENet-discuss 
    mailing list<BR><A 
    href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</A><BR><A 
    href="http://lists.cubik.org/mailman/listinfo/enet-discuss" 
    target=_blank>http://lists.cubik.org/mailman/listinfo/enet-discuss</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV>
  <P>
  <HR>

  <P></P><BR>Internal Virus Database is out of date.<BR>Checked by AVG - 
  www.avg.com <BR>Version: 8.5.432 / Virus Database: 271.1.1/2662 - Release 
  Date: 02/01/10 12:37:00<BR></BLOCKQUOTE></BODY></HTML>