[ENet-discuss] ENet-discuss Digest, Vol 68, Issue 9

Brandon Dawson brandon.dawson at left.com
Fri Jan 23 12:24:35 PST 2009


Could be a few issues. Most likely you are dealing with NAT issues, in which 
case you will have to setup some sort of NAT traversal method (look at STUN 
protocol).  As far as Mac -> PC, if the Mac PCs are using a PowerPC 
processor, the machine byte order is different than the I86 byte order, so 
make sure you are properly swapping values before sending packets. 
ENET_HOST_TO_NET_16 and ENET_HOST_TO_NET_32 should handle this in the enet 
layer, but you will have to do it internally for all of your data.

Brandon

----- Original Message ----- 
From: <enet-discuss-request at cubik.org>
To: <enet-discuss at cubik.org>
Sent: Friday, January 23, 2009 12:00 PM
Subject: ENet-discuss Digest, Vol 68, Issue 9


> 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.  Connecting over the Internet, PC and Macs (Aidan McKenna)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 23 Jan 2009 09:24:39 -0300
> From: Aidan McKenna <aidan at grassgames.com>
> Subject: [ENet-discuss] Connecting over the Internet, PC and Macs
> To: enet-discuss at cubik.org
> Message-ID: <4979B707.9000709 at grassgames.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hello there,
>
> I've been using enet for some of my games for some time now.
>
> Me and other who use the games can setup a LAN connection no problem
> with both PC-> PC,  Mac -> Mac and mixed (PC -> Mac).
>
> In some occasions, people can get a connection over the internet from PC
> -> PC, though it is very picky, even with all firewalls turned off.
>
> As far as I know, no one has ever successfully established a Mac -> Mac
> internet connection (or PC -> Mac either). This is a huge problem for me.
>
> Anybody any ideas why ?
>
> You can download a game that uses enet (thanks), GrassGames' Cribbage, 
> here:
>
> http://www.grassgames.com/cribbage
>
> Thanks in advance for any replies,
>
> Aidan McKenna.
>
>
>
> ------------------------------
>
> _______________________________________________
> ENet-discuss mailing list
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss
>
>
> End of ENet-discuss Digest, Vol 68, Issue 9
> *******************************************
> 



More information about the ENet-discuss mailing list