SDL_Net without video

Goodday to you all.

I was wondering wheter it would be possible to use my networking code which
is build on top of SDL_Net without video making it possible for a SDL_Net
enabled application to run as a system service, this would be a verry nice
feature for a game server.

GreeTz
DV

i do this, its easy, you initialize sdl still, but just dont set the video
mode (:> ----- Original Message -----

From: vanvelzen@skynet.be (Dinand Vanvelzen)
To:
Sent: Friday, April 04, 2003 11:00 AM
Subject: [SDL] SDL_Net without video

Goodday to you all.

I was wondering wheter it would be possible to use my networking code
which
is build on top of SDL_Net without video making it possible for a SDL_Net
enabled application to run as a system service, this would be a verry nice
feature for a game server.

GreeTz
DV


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

Goodday to you all.

I was wondering wheter it would be possible to use my networking code which
is build on top of SDL_Net without video making it possible for a SDL_Net
enabled application to run as a system service, this would be a verry nice
feature for a game server.

GreeTz
DV

sure, don’t use SDL_INITVIDEO in SDL_Init() and don’t try any surface action :wink:
Have fun, bye,

Daniel SchneidereitOn Fri, 4 Apr 2003 21:00:07 +0200, “Dinand Vanvelzen” wrote:

Without SDL_INITVIDEO the event system will not work, and perhaps some
other components I can’t remember.

I had this problem when making a text mode joystick testing program.
You are also unable to run SDL apps from a remote connection, as it
requires a local keyboard it seems.

Are there any reasons for these two constraints that do not appear to
have any benefits? Speak up if you are in the know!

Cheers

JG

on the 04/04/03 20:22, Daniel Schneidereit wrote:> On Fri, 4 Apr 2003 21:00:07 +0200, “Dinand Vanvelzen” wrote:

Goodday to you all.

I was wondering wheter it would be possible to use my networking code which
is build on top of SDL_Net without video making it possible for a SDL_Net
enabled application to run as a system service, this would be a verry nice
feature for a game server.

GreeTz
DV

sure, don’t use SDL_INITVIDEO in SDL_Init() and don’t try any surface action :wink:
Have fun, bye,

Daniel Schneidereit


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

well, i know part of this…go ahead and do an sdl_initvideo, doesnt mean
you have to set the video mode. It is more overhead to use SDL for just a
system service IMO, it would be really nice to see a non-SDL dependant
version of SDL_Net, cause alot of us are making clients AND servers, and
servers rarely need the SDL extensions themselves, but it is nice for us
developers to have a multiplatform network library.

-Atrix> ----- Original Message -----

From: jg-lists@jguk.org (J. Grant)
To:
Sent: Friday, April 04, 2003 3:28 PM
Subject: Re: [SDL] SDL_Net without video

Without SDL_INITVIDEO the event system will not work, and perhaps some
other components I can’t remember.

I had this problem when making a text mode joystick testing program.
You are also unable to run SDL apps from a remote connection, as it
requires a local keyboard it seems.

Are there any reasons for these two constraints that do not appear to
have any benefits? Speak up if you are in the know!

Cheers

JG

on the 04/04/03 20:22, Daniel Schneidereit wrote:

On Fri, 4 Apr 2003 21:00:07 +0200, “Dinand Vanvelzen” wrote:

Goodday to you all.

I was wondering wheter it would be possible to use my networking code
which

is build on top of SDL_Net without video making it possible for a
SDL_Net

enabled application to run as a system service, this would be a verry
nice

feature for a game server.

GreeTz
DV

sure, don’t use SDL_INITVIDEO in SDL_Init() and don’t try any surface
action :wink:

Have fun, bye,

Daniel Schneidereit


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

I’m hoping for an SDL_Net version you can build independant of the SDL core
lib, or at build it with the stuff it needs from SDL without all the
extra’s, but this will do for now (maybe in SDL 2.0?). I do hope someone
will look into this because it’s like the saying go’s : Where there’s a
client,… there’s usually a server :o)

GreeTz
DV> ----- Original Message -----

From: atrix2@cox.net (atrix2)
To:
Sent: Saturday, April 05, 2003 7:19 AM
Subject: Re: [SDL] SDL_Net without video

well, i know part of this…go ahead and do an sdl_initvideo, doesnt mean
you have to set the video mode. It is more overhead to use SDL for just a
system service IMO, it would be really nice to see a non-SDL dependant
version of SDL_Net, cause alot of us are making clients AND servers, and
servers rarely need the SDL extensions themselves, but it is nice for us
developers to have a multiplatform network library.

-Atrix

----- Original Message -----

  • cleanup -

I’m hoping for an SDL_Net version you can build independant of the SDL core
lib, or at build it with the stuff it needs from SDL without all the
extra’s, but this will do for now (maybe in SDL 2.0?). I do hope someone
will look into this because it’s like the saying go’s : Where there’s a
client,… there’s usually a server :o)

I spent some time digging around in SDL_Net while I was working on NET2.
I didn’t see that much in their that was that dependent on the core of
SDL. It would be worth someones time to take a look at what it would
really take to separate SDL_Net from the core of SDL.

	Bob PendletonOn Sat, 2003-04-05 at 06:15, Dinand Vanvelzen wrote:

GreeTz
DV

----- Original Message -----
From: “Atrix Wolfe”
To:
Sent: Saturday, April 05, 2003 7:19 AM
Subject: Re: [SDL] SDL_Net without video

well, i know part of this…go ahead and do an sdl_initvideo, doesnt mean
you have to set the video mode. It is more overhead to use SDL for just a
system service IMO, it would be really nice to see a non-SDL dependant
version of SDL_Net, cause alot of us are making clients AND servers, and
servers rarely need the SDL extensions themselves, but it is nice for us
developers to have a multiplatform network library.

-Atrix

----- Original Message -----

  • cleanup -

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

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

  • Bob Pendleton: independent writer +
  • and programmer. +
  • email: Bob at Pendleton.com +
    ±----------------------------------+

As an aside, depending on what you’re trying to do, I’ve found ENet
to be a phenomenally well done, but minimal, package.

http://enet.cubik.org

Brian