The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Technical Issues => Topic started by: *Silly Kao* on March 14, 2008, 06:50:40 pm

Title: Network subsystem
Post by: *Silly Kao* on March 14, 2008, 06:50:40 pm
long time player/lurker, first time poster ;)

not really an issue per se, but my thoughts on the network system for SM..

why reinvent the wheel?

i know from personal experience how much more satisfying it is to write your own,
but im pretty sure alot of your wishlist for 'fixing' the netmelee can be found using
an opensource network library...
altho this might be a bit too robust for SM's needs, the one id reccomend is the
Torque Network Library ( )
this was the network subsystem used in starsiege:tribes

if core team has discussed this option before and rejected it, sorry for wasting forum space ;)

*enjoy the sauce*

Title: Re: Network subsystem
Post by: meep-eep on March 14, 2008, 07:26:10 pm
Creating the UQM network library was not done because it was satisfying. It was done because we needed something, and what was out there was not suitable.

I looked at some open source network libraries before making my own, and I think that one of them was the Torque Network Library. I don't recall why I rejected them, but there was a good reason for it. I can probably find it in my IRC history, but I can't be bothered really; our current lib works great, and we're not going to replace it anyhow.

Which of our wishlist items do you think such a general purpose network library would fulfil? Because almost all that is left is higher-level stuff. (Though I can think of one missing part which might be provided by such a lib).

And a second question, why do you recommend TNL specifically? What makes it better than say HawkNL or SDL_Net?

Title: Re: Network subsystem
Post by: *Silly Kao* on March 14, 2008, 08:53:45 pm
<opens mouth & inserts foot>
just looked at recent svn..
ill go back to lurking for more years ;)
keep up the great work