TCP Server

  • Thread starter Sergio Aristizábal
  • Start date
S

Sergio Aristizábal

Hi, i'm going to code a game server, i'm new in ruby an would
like to
hear some advice about it. I mean, good practices in server programming
and what i have to take into account like security issues.

Thanks, and excuse my english.
 
E

Eleanor McHugh

Hi, i'm going to code a game server, i'm new in ruby an would
like to
hear some advice about it. I mean, good practices in server =20
programming
and what i have to take into account like security issues.

Thanks, and excuse my english.

Hi Sergio,

Welcome to the colourful world of Ruby :)

I've a couple of presentations at http://slides.games-with-brains.net/ =20=

that feature Ruby network code with both TCP and UDP that you may find =20=

helpful. There's also some simple crypto stuff in there if you want to =20=

look into securing traffic on the wire, but that's a huge subject and =20=

you'll definitely want to do further research.

More generally to write a secure server you want to make sure you =20
limit access to your application's database in a clear and consistent =20=

manner, and ensure that client identity is always clearly established. =20=

There are also some excellent fuzzing libraries that are worth =20
exploring.

Depending on how busy you think your game server will be I'd also =20
recommend looking into EventMachine, an event-driven Ruby network =20
library that makes it very easy to write scalable network servers.


Ellie

Eleanor McHugh
Games With Brains
http://slides.games-with-brains.net
 
J

Jeff Moore

Eleanor said:
:)


Ellie

Being and Doing are merely useful abstractions for the time-dependent
asymmetry of phase space.

By which you mean $reality ?

djief
 
L

Louis-Philippe

[Note: parts of this message were removed to make it a legal post.]

or maybe its REALITY ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,184
Messages
2,570,979
Members
47,579
Latest member
CharaS3188

Latest Threads

Top