[SDL] portable network
Alvin
alvinbeach at gmail.com
Wed Jan 3 09:03:24 PST 2007
On Wednesday 03 January 2007 12:52, Viktor Dick wrote:
> This is not really a question concerning SDL, but I think many SDL
> developers have experience in this because SDL is concerned to be
> portable and many games are designed to be played over network.
> Does anyone know some portable (especially running on Windows and Linux)
> libraries that offer an interface to deal a network? Something that
> would run under Mingw-make and under Gnu/Make(Linux) without rewriting
> the whole code? Does anyone have a link to a turorial or at least a
> reference?
> Thanks in advance
I find SDL_net really good. It provides a good interface for UDP and TCP
sockets. I've recently started to use the SocketSets routines (part of
SDL_net) and find that it works really well.
Also, SDL_net integrates or is integrated (?) into SDL and are available via
libsdl.org.
I mainly program for Linux (openSUSE) and find that the RPMs supplied by
openSUSE to work great.
Here are some links:
SDL_net Homepage: http://www.libsdl.org/projects/SDL_net/
SDL_net API Doc: http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fnet
Alvin
More information about the SDL
mailing list