My Project
D:/source/c++/Programme/sally/sally/sallyAPI/NetworkHelper.cpp File Reference

Implements the network helper class. More...

#include "NetworkHelper.h"
#include "Game.h"

Classes

struct  HTMLReplace

Defines

#define array_length(array)   (sizeof (array) / sizeof (array)[0])

Functions

std::string char2hex (char dec)
char charFromHex (std::string a)
void LogNetworkError (const std::string &server, int port, const std::string &request, SallyAPI::Network::NETWORK_RETURN error)

Variables

struct HTMLReplace codes []

Detailed Description

Implements the network helper class.

Author:
Christian Knobloch
Date:
13.09.2010

This file is part of the Sally Project

Copyright(c) 2008-2010 Sally Project http://www.sally-project.org/

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

This program 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 Lesser General Public License for more details.

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


Define Documentation

#define array_length (   array)    (sizeof (array) / sizeof (array)[0])

Function Documentation

std::string char2hex ( char  dec)
char charFromHex ( std::string  a)
void LogNetworkError ( const std::string &  server,
int  port,
const std::string &  request,
SallyAPI::Network::NETWORK_RETURN  error 
)

Variable Documentation

struct HTMLReplace codes[]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines