Thanks. The byte-order stuff is all taken care of - LAN PC-Mac
connections work fine. I'm mainly worried about Mac->Mac anyway for now.
Your comment "you will have to setup some sort of NAT traversal method
(look at STUN protocol)" is a bit heavy for me. I've looked at the STUN
wiki page, but not sure what I have to do. Does the end user have to do
something on Mac OS X (network preferences etc.), or do I need to do
some extra coding ? Its hard to know what the problem as absolutely
nothing is being sent from one machine to the other - ie. no incoming
data, nothing to debug.
Cheers,
Aidan.
Brandon Dawson wrote:
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
_______________________________________________
ENet-discuss mailing list
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss