Functions | Variables

ana/test/sdl_server.cpp File Reference

Server application using SDL_net to test compatibility with ana. More...

#include <SDL/SDL_net.h>
Include dependency graph for sdl_server.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)

Variables

const int DEFAULT_PORT = 2000

Detailed Description

Server application using SDL_net to test compatibility with ana.

Language : C

Code was taken from: <http://gpwiki.org/index.php/SDL:Tutorial:Using_SDL_net>

Documentation at gpwiki is published under the GNU Free Documentation License 1.2. See <http://www.gnu.org/copyleft/fdl.html>

ana is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

ana is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with ana. If not, see <http://www.gnu.org/licenses/>.

Definition in file sdl_server.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 34 of file sdl_server.cpp.

References ana::buffer(), and DEFAULT_PORT.

Here is the call graph for this function:


Variable Documentation

const int DEFAULT_PORT = 2000

Definition at line 32 of file sdl_server.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:03:48 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs