<html><body><div><div>Hi again. Some corrections from my previous post.</div><div>"<span class="Apple-style-span" style="font-family: Menlo; font-size: 11px; ">totalReceivedPackets" </span>doesnt increase without data as I thought at an earlier time...</div><div><br></div><div>Instead I found out after some package sniffing what was my problem.</div><div>I thought all my traffic was in my local wifi network, but it wasnt. (I seems to have some problems with my ISP that exaggerates the problem)</div><div>Unplugging the ethernet cable from the basestation solved my problems. (up to 3 sec delays)</div><div>Is there someway in ENet to set the TTL (Time To Live)  marking to force a local connection?</div><div>Or should I solve this in another way? (a bit on thin ice here..)</div><div><br></div><div>(btw sorry for the last mails trailing.. missed that on the iphone from I was sending the last post..)<br><br></div><div>best regards</div><div>/Emil</div><div><br></div><br>On 11 Jan, 2011,at 09:00 PM, enet-discuss-request@cubikorg wrote:<br><br></div><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch">Send ENet-discuss mailing list submissions to<br>
        enet-discuss@cubik.org<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" _mce_href="http://lists.cubik.org/mailman/listinfo/enet-discuss">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
or, via email, send a message with subject or body 'help' to<br>
        enet-discuss-request@cubik.org<br>
<br>
You can reach the person managing the list at<br>
        enet-discuss-owner@cubik.org<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of ENet-discuss digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1.  ENet on iPhone and dropped packets? (Emil Salling)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 10 Jan 2011 22:11:30 +0100<br>
From: Emil Salling <emils@me.com><br>
To: "enet-discuss@cubik.org" <enet-discuss@cubik.org><br>
Subject: [ENet-discuss] ENet on iPhone and dropped packets?<br>
Message-ID: <93DA670F-3607-4B2D-90EE-60EC20F6343F@me.com><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
Hi Im trying ENet (1.3) to communicate iPhone to/with desktop (os x).<br>
<br>
Ive encountered a few problems.<br>
The server, which resides on the desktop side, drops alot (less than half get through) of the packets sent from the client(iphone).<br>
<br>
The server code works fine when connected from a client located on the same machine, making me think that maybe I had problems with my WLAN.<br>
Tried with two different basestations but the problem persits.<br>
<br>
What puzzels me is that I have no problem connecting but it is when I send data that the packets dont get through. I have tried both reliable and unreliable send package types and<br>
when sending unreliable I just get data occasionally and when sending reliable<br>
I get all data at once with 0.1->5 second intervalls. Ie it seems to be the same problem regardless of sendtype.<br>
<br>
Puzzle two. At server side when I check for totalNbOfReceivedPackets I see all failed packets, even though my runloop polling ENet hasnt caught any data received. What can be the cause of this?<br>
<br>
Anyone else used ENet on iPhone noticed any such problems?<br>
<br>
Any special settings needed to be applied when compiling ENet for iPhone?<br>
<br>
Best regards<br>
/emil<br><br>
</div></div></blockquote></div></body></html>