[ENet-discuss] ENet on Linux host

Peter Kingsbury peter.kingsbury at gmail.com
Fri Jan 5 13:14:41 PST 2007


Hello all,

I've been building a game-server for my game-client, and I have stumbled
upon something with which you folks may (or may not) be able to assist.

I've set the game-server up on my linux host, and tried connecting from a
client (both Windows XP and Ubuntu Linux 6.10) on the network. This works
great, and I'm able to send packet data back and forth, with absolutely no
problems (and great ping times! :^)

However, any users connecting from the internet are unable to connect, and
get a connection timeout error.

First I've enabled my server port (for UDP protocol) in my iptables
rule-set, and when this offered no solution I have as well dropped all rules
and permitted all incoming traffic to the server, with similar results. I've
had two different testers (in Windows XP) connect to the server, and
similarly they are unable to connect.

What I'm afraid of is that when creating the UDP server, it is somehow
listening to UDP traffic on one particular ethernet interface (e.g. the
internal one facing the network), thus not receiving anything that comes in
on the external interface (facing the internet). I am creating the server
using ENET_HOST_ANY, so I'm not sure why it would be doing this.

I'd appreciate any recommendations made, as I'm only dipping my feet in
network programming for the first time, and I'm not sure what else I can do
to facilitate incoming connections from the internet.

Best regards,
- Peter
http://odyssey-project.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cubik.org/pipermail/enet-discuss/attachments/20070105/7b9bf5fb/attachment.htm 


More information about the ENet-discuss mailing list