Server application using SDL_net to test compatibility with ana. More...
#include <SDL/SDL_net.h>
Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
Variables | |
| const int | DEFAULT_PORT = 2000 |
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.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 34 of file sdl_server.cpp.
References ana::buffer(), and DEFAULT_PORT.

| const int DEFAULT_PORT = 2000 |
Definition at line 32 of file sdl_server.cpp.
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:03:48 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |