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: <[email protected]>
To: <[email protected]>
Sent: Friday, January 23, 2009 12:00 PM
Subject: ENet-discuss Digest, Vol 68, Issue 9


Send ENet-discuss mailing list submissions to
[email protected]

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
[email protected]

You can reach the person managing the list at
[email protected]

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 <[email protected]>
Subject: [ENet-discuss] Connecting over the Internet, PC and Macs
To: [email protected]
Message-ID: <[email protected]>
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
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss


End of ENet-discuss Digest, Vol 68, Issue 9
*******************************************


_______________________________________________
ENet-discuss mailing list
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss

Reply via email to