[ENet-discuss] ENet-discuss Digest, Vol 92, Issue 3

Emil Salling emils at me.com
Thu Jan 13 16:00:37 PST 2011


Hi again. Some corrections from my previous post.
"totalReceivedPackets" doesnt increase without data as I thought at an earlier time...

Instead I found out after some package sniffing what was my problem.
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)
Unplugging the ethernet cable from the basestation solved my problems. (up to 3 sec delays)
Is there someway in ENet to set the TTL (Time To Live)  marking to force a local connection?
Or should I solve this in another way? (a bit on thin ice here..)

(btw sorry for the last mails trailing.. missed that on the iphone from I was sending the last post..)

best regards
/Emil


On 11 Jan, 2011,at 09:00 PM, enet-discuss-request at cubik.org wrote:

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. ENet on iPhone and dropped packets? (Emil Salling)


----------------------------------------------------------------------

Message: 1
Date: Mon, 10 Jan 2011 22:11:30 +0100
From: Emil Salling <emils at me.com>
To: "enet-discuss at cubik.org" <enet-discuss at cubik.org>
Subject: [ENet-discuss] ENet on iPhone and dropped packets?
Message-ID: <93DA670F-3607-4B2D-90EE-60EC20F6343F at me.com>
Content-Type: text/plain; charset=utf-8

Hi Im trying ENet (1.3) to communicate iPhone to/with desktop (os x).

Ive encountered a few problems.
The server, which resides on the desktop side, drops alot (less than half get through) of the packets sent from the client(iphone).

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.
Tried with two different basestations but the problem persits.

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
when sending unreliable I just get data occasionally and when sending reliable
I get all data at once with 0.1->5 second intervalls. Ie it seems to be the same problem regardless of sendtype.

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?

Anyone else used ENet on iPhone noticed any such problems?

Any special settings needed to be applied when compiling ENet for iPhone?

Best regards
/emil

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20110114/95e5018c/attachment.html>


More information about the ENet-discuss mailing list