[ENet-discuss] issue about ENET_PACKET_FLAG_RELIABLE and Timeout

czj issingle at gmail.com
Tue Jun 7 18:02:38 PDT 2011


client sends a heatbeat packet to server every 2 seconds.
yesterday ,i begin a test.now,the test program have run 28 hours.the memory looks fine.
en...now,i'm waiting.

2011-06-08 



czj 



发件人: enet-discuss-request 
发送时间: 2011-06-08  03:00:58 
收件人: enet-discuss 
抄送: 
主题: ENet-discuss Digest, Vol 97, Issue 4 
 
Send ENet-discuss mailing list submissions to
enet-discuss at cubik.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.cubik.org/mailman/listinfo/enet-discuss
or, via email, send a message with subject or body 'help' to
enet-discuss-request at cubik.org
You can reach the person managing the list at
enet-discuss-owner at cubik.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of ENet-discuss digest..."
Today's Topics:
   1.  issue about ENET_PACKET_FLAG_RELIABLE and Timeout (czj)
   2. Re:  issue about ENET_PACKET_FLAG_RELIABLE and Timeout
      (Jay Sprenkle)
----------------------------------------------------------------------
Message: 1
Date: Tue, 7 Jun 2011 09:12:34 +0800
From: "czj" <issingle at gmail.com>
To: "enet-discuss" <enet-discuss at cubik.org>
Subject: [ENet-discuss] issue about ENET_PACKET_FLAG_RELIABLE and
Timeout
Message-ID: <201106070912259067440 at gmail.com>
Content-Type: text/plain; charset="us-ascii"
Hello,
i found that the "ENET_PACKET_FLAG_RELIABLE " FLAG can't guarantee .
Use default config.A Peer( as Client) send a RELIABLE packet to another peer( as Server) every 2 sceond.
after dozens of hours,the connection between client and server is time out.
Client and Server Run at same PC.
the client's history:
2011-6-3 17:59:00 Heatbeat...
2011-6-3 17:59:02 Heatbeat...
2011-6-3 17:59:04 Heatbeat...
the server's history:
2011-6-3 17:59:00 Client:10.1.1.1:18988 Heatbeat...
2011-6-3 17:59:02 Client:10.1.1.1:18988 Heatbeat...
2011-6-3 17:59:12 Client:10.1.1.1:18988 TimeOut!!!
it's seemed that the packet sent from client at 2011-6-3 17:59:04 can't be received by server.
Any Idea??
2011-06-07 
czj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20110607/d0cda5dd/attachment-0001.html>
------------------------------
Message: 2
Date: Tue, 7 Jun 2011 06:39:07 -0500
From: Jay Sprenkle <jsprenkle at gmail.com>
To: Discussion of the ENet library <enet-discuss at cubik.org>
Subject: Re: [ENet-discuss] issue about ENET_PACKET_FLAG_RELIABLE and
Timeout
Message-ID: <BANLkTikUxACsMK8U5KfxTFb+wDvSji+4Sg at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Was the packet lost or just delivered after 2 seconds?
After a dozens of hours I would suspect the operating system ( memory
management ).
If it were ENet it would probably have been seen much faster.
On Mon, Jun 6, 2011 at 8:12 PM, czj <issingle at gmail.com> wrote:
>  Hello,
> i found that the "ENET_PACKET_FLAG_RELIABLE " FLAG can't guarantee .
> Use default config.A Peer( as Client) send a RELIABLE packet to another
> peer( as Server) every 2 sceond.
> after dozens of hours,the connection between client and server is time out.
>
> Client and Server Run at same PC.
>
> the client's history:
> 2011-6-3 17:59:00 Heatbeat...
> 2011-6-3 17:59:02 Heatbeat...
> 2011-6-3 17:59:04 Heatbeat...
>
> the server's history:
>  2011-6-3 17:59:00 Client:10.1.1.1:18988 Heatbeat...
> 2011-6-3 17:59:02 Client:10.1.1.1:18988 Heatbeat...
> 2011-6-3 17:59:12 Client:10.1.1.1:18988 TimeOut!!!
>
> it's seemed that the packet sent from client at 2011-6-3 17:59:04 can't be
> received by server.
>
> Any Idea??
>
>
> 2011-06-07
> ------------------------------
> czj
>
> _______________________________________________
> ENet-discuss mailing list
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss
>
>
-- 
---
"There's a zombie outbreak!  Oh, no, wait a second...  It's just a bunch of
kids texting."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20110607/b6144876/attachment-0001.html>
------------------------------
_______________________________________________
ENet-discuss mailing list
ENet-discuss at cubik.org
http://lists.cubik.org/mailman/listinfo/enet-discuss
End of ENet-discuss Digest, Vol 97, Issue 4
*******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20110608/7c8b5c7a/attachment.html>


More information about the ENet-discuss mailing list