Networking

Hi, I know this is off subject, but what libraries are people using for
integrating network support into their games?

Try Bob Pendletons NET2+FastEvents which integrates to the sdl events
system. It needs sdl_net to operate. I can’t say I’ve built very many
network projects but for the few I’ve built it worked great. And
wonerfully documented.

/OlofOn 30 Oct 2004 19:41:48 +1300, Nevyn wrote:

Hi, I know this is off subject, but what libraries are people using for
integrating network support into their games?


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Hi, hate to ask such a stupid question but…

Fast Event does not include a install target in it’s Makefile - where
should I be putting the various files that a make generates?On Sat, 2004-10-30 at 23:26, Olof Bjarnason wrote:

Try Bob Pendletons NET2+FastEvents which integrates to the sdl events
system. It needs sdl_net to operate. I can’t say I’ve built very many
network projects but for the few I’ve built it worked great. And
wonerfully documented.

/Olof

On 30 Oct 2004 19:41:48 +1300, Nevyn <@Nevyn_Hira> wrote:

Hi, I know this is off subject, but what libraries are people using for
integrating network support into their games?


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Perhaps because there are so many ways to word this, I couldn’t find
any information on this using google. Ergo…

After an SDL app is already underway, is there a way to detect new
joysticks? I figure if I reinitialize SDL joysticks (ala
SDL_Init_Subsystem(SDL_INIT_JOYSTICK)) then it should pick up the new
joystick, right?

Please let me know if this is right, wrong, or other. Thanks for your
time.

Hi, hate to ask such a stupid question but…

Fast Event does not include a install target in it’s Makefile - where
should I be putting the various files that a make generates?

Any place you want them, any place at all. So long as your link path can
find them they are in a good place.

	Bob PendletonOn Sun, 2004-10-31 at 05:58, Nevyn wrote:

On Sat, 2004-10-30 at 23:26, Olof Bjarnason wrote:

Try Bob Pendletons NET2+FastEvents which integrates to the sdl events
system. It needs sdl_net to operate. I can’t say I’ve built very many
network projects but for the few I’ve built it worked great. And
wonerfully documented.

/Olof

On 30 Oct 2004 19:41:48 +1300, Nevyn wrote:

Hi, I know this is off subject, but what libraries are people using for
integrating network support into their games?


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

±-------------------------------------+

Yep, you could do that. Just make sure you check to make sure the
original subsystem dies before you try to restart it, or the restart
attempt will fail. For example…

bool reInitJoysticks()
{
SDL_QuitSubSystem(SDL_INIT_JOYSTICK);
// make sure the subsystem died (this should never fail, but you
// never can be too sure)
if ( SDL_WasInit(SDL_INIT_JOYSTICK) != 0) {
return false;
}
if ( SDL_InitSubSystem(SDL_INIT_JOYSTICK) != 0) {
return false;
}
return true;
}> Original message:

Message: 4
Date: Mon, 1 Nov 2004 03:50:12 -0500
From: Donny Viszneki
Subject: [SDL] Grabbing new joysticks
To: “A list for developers using the SDL library. (includes
SDL-announce)”
Message-ID: <0AEF4B36-2BE3-11D9-9EC0-000A95D342AC at thebuicksix.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed

Perhaps because there are so many ways to word this, I couldn’t find
any information on this using google. Ergo…

After an SDL app is already underway, is there a way to detect new
joysticks? I figure if I reinitialize SDL joysticks (ala
SDL_Init_Subsystem(SDL_INIT_JOYSTICK)) then it should pick up the new
joystick, right?

Please let me know if this is right, wrong, or other. Thanks for your
time.


“I’m not stupid; I just have a command of thoroughly useless
information.”
–Calvin