[ENet-discuss] ENet on Linux host

Kevin Gadd kevin.gadd at gmail.com
Fri Jan 5 15:35:52 PST 2007


I have very little experience with configuring networking on linux, but have
you tried running the server application on a similarly configured Windows
box to see if it is a configuration issue? If it doesn't work on a windows
box either, you're probably either running into a listen address issue (as
you suspect) or an 'my internet service provider is terrible' issue (sadly
common).

You might want to try running some sort of network monitor/sniffer
application to monitor your incoming UDP traffic to investigate where the
problem is occurring. Obviously, if the sniffer detects no UDP traffic
coming in from the 'net, the problem is either at your router or somewhere
on your ISP's network.

-kg

On 1/5/07, Peter Kingsbury <peter.kingsbury at gmail.com> wrote:
>
> 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/
>
>
> _______________________________________________
> ENet-discuss mailing list
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cubik.org/pipermail/enet-discuss/attachments/20070105/7780b08a/attachment.htm 


More information about the ENet-discuss mailing list