http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gameprogrammer] Re: Server Software



Hey.

About firewalls, UDP is often blocked in corporate firewalls. But that
probably isn't your target market anyway ;)

Make the choice of UDP versus TCP based on your software's needs.

You could use "raw" UDP (as in make your own application protocol on
top) or you could use a library like raknet that gives you (optional)
reliability over UDP and lots of extra features.

If your game uses SDL and you want to make use of SDL_net (as per
Roger's advice) then look into the Net2 library developed by the lists
owner.

For test hosting, if you have a decent connection you can use a
service like dyndns and manual port forwarding on a home router and
you should be fine (depending on your games network requirements), at
least for a few users.

If it suits your game's style consider allowing users to host their
own games and just provide a registrar service your self, allowing
users to locate each others servers.

Regards,
  Brian.

On 6/5/07, Edilson Vasconcelos de Melo Junior <dirso@jrsoftwares.com.br> wrote:


I'm about to start the development of my server software for the online mode
of my game and now it's time to choose a few things:



1)       About the library, something cheap or free. I red a few articles
about how UDP is usually blocked by firewalls and that should be avoided –
is it true? Does it make such a difference?

2)       How can I host this software? Do I need to contract a static IP or
something and make my own service? Is there any company that host that kind
of software?

Thanks,

Dirso.

---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html