Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 514


Ignore:
Timestamp:
Dec 13, 2007, 6:02:07 PM (17 years ago)
Author:
nicolasc
Message:

added copyright notice

Location:
code/branches/FICN/src/network
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/network/Client.cc

    r496 r514  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Oliver Scheuss, (C) 2007
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128//
    229// C++ Implementation: Client
     
    90117    return client_connection.sendPackets();
    91118  }
    92  
     119
    93120  /**
    94121   * submits a chat message to the server
     
    133160  }
    134161
    135   /** 
     162  /**
    136163   * Sends out all the packets queued by addXXX
    137164   */
     
    147174      return false;
    148175  }
    149  
     176
    150177  /**
    151178   * Performs a GameState update
     
    160187    return;
    161188  }
    162  
     189
    163190  void Client::processGamestate( GameStateCompressed *data){
    164191    gamestate.pushGameState(*data);
     
    167194    return;
    168195  }
    169  
     196
    170197  void Client::processClassid(classid *clid){
    171198    orxonox::Identifier *id;
     
    175202    return;
    176203  }
    177  
     204
    178205  void Client::processChat( chat *data){
    179206    std::cout << "Server: " << data->message << std::endl;
    180207  }
    181  
     208
    182209}
  • code/branches/FICN/src/network/ClientConnection.cc

    r448 r514  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Oliver Scheuss, (C) 2007
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128//
    229// C++ Interface: ClientConnection
     
    5885    return getPacket(address);
    5986  }
    60  
     87
    6188  bool ClientConnection::queueEmpty(){
    6289    return buffer.isEmpty();
  • code/branches/FICN/src/network/ClientInformation.cc

    r446 r514  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      ...
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128//
    229// C++ Implementation: ClientInformation
    330//
    4 // Description: 
     31// Description:
    532//
    633//
     
    4168//   this->preve = pref;
    4269// }
    43 // 
     70//
    4471// ClientInformation::ClientInformation(ClientInformation *prev, ClientInformation *next){
    4572//   this->nexte = next;
  • code/branches/FICN/src/network/ConnectionManager.cc

    r505 r514  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Oliver Scheuss, (C) 2007
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128//
    229// C++ Interface: ConnectionManager
     
    2451
    2552  boost::thread_group network_threads;
    26  
     53
    2754  ConnectionManager::ConnectionManager(ClientInformation *head){
    2855    quit=false;
     
    5279        return NULL;
    5380  }
    54  
     81
    5582  ENetPacket *ConnectionManager::getPacket(int &clientID){
    5683    ENetAddress address;
     
    82109    return true;
    83110  }
    84  
     111
    85112  bool ConnectionManager::addPacket(ENetPacket *packet, int clientID){
    86113    if(enet_peer_send(head_->findClient(clientID)->getPeer(), clientID, packet)!=0)
     
    88115    return true;
    89116  }
    90  
     117
    91118  bool ConnectionManager::addPacketAll(ENetPacket *packet){
    92119    for(ClientInformation *i=head_->next(); i!=0; i=i->next()){
     
    105132      return false;
    106133  }
    107  
     134
    108135  bool ConnectionManager::sendPackets(){
    109136    ENetEvent event;
     
    155182    enet_host_destroy(server);
    156183  }
    157  
     184
    158185  void ConnectionManager::disconnectClients(){
    159186    ENetEvent event;
     
    190217//     return clientDisconnect(*peer);
    191218//   }
    192  
    193  
    194  
     219
     220
     221
    195222  bool ConnectionManager::clientDisconnect(ENetPeer *peer){
    196223    return head_->removeClient(peer);
     
    205232    return true;
    206233  }
    207  
     234
    208235  int ConnectionManager::getClientID(ENetPeer peer){
    209236    return getClientID(peer.address);
    210237  }
    211  
     238
    212239  int ConnectionManager::getClientID(ENetAddress address){
    213240    return head_->findClient(&address)->getID();
    214241  }
    215  
     242
    216243  ENetPeer *ConnectionManager::getClientPeer(int clientID){
    217244    return head_->findClient(clientID)->getPeer();
    218245  }
    219  
     246
    220247  void ConnectionManager::syncClassid(int clientID){
    221248    int i=0;
     
    235262    sendPackets();
    236263  }
    237  
     264
    238265}
  • code/branches/FICN/src/network/GameStateClient.cc

    r505 r514  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      ...
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128#include "GameStateClient.h"
    229
     
    5279    sync.data = data;
    5380    data+=sync.length;
    54    
     81
    5582    if(it->objectID!=sync.objectID){
    5683      // bad luck ;)
     
    73100    ++it;
    74101  }
    75  
     102
    76103  return true;
    77104}
     
    117144  uLongf length=normsize;
    118145  retval = uncompress( dest, &length, a.data, (uLong)compsize );
    119  
     146
    120147  switch ( retval ) {
    121148    case Z_OK: std::cout << "successfully compressed" << std::endl; break;
     
    124151    case Z_DATA_ERROR: std::cout << "data corrupted" << std::endl; break;
    125152  }
    126  
     153
    127154  GameState gamestate;
    128155  gamestate.id = a.id;
     
    130157  gamestate.data = dest;
    131158  gamestate.diffed = a.diffed;
    132  
     159
    133160  return gamestate;
    134161}
  • code/branches/FICN/src/network/GameStateManager.cc

    r436 r514  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Oliver Scheuss, (C) 2007
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128//
    229// C++ Implementation: GameStateManager
    330//
    4 // Description: 
     31// Description:
    532//
    633//
     
    4774
    4875/**
    49  * This function goes through the whole list of synchronisables and 
     76 * This function goes through the whole list of synchronisables and
    5077 * saves all the synchronisables to a flat "list".
    5178 * @return struct of type gamestate containing the size of the whole gamestate and a pointer linking to the flat list
     
    6188  // struct for return value of Synchronisable::getData()
    6289  syncData sync;
    63  
     90
    6491  GameState *retval=new GameState; //return value
    6592  retval->id=id;
    6693  // reserve a little memory and increase it later on
    6794  retval->data = (unsigned char*)malloc(1);
    68  
     95
    6996  // offset of memory functions
    7097  int offset=0;
     
    77104    // allocate additional space
    78105    retval->data = (unsigned char *)realloc((void *)retval->data, totalsize);
    79    
     106
    80107    // run Synchronisable::getData with offset and additional place for 3 ints in between (for ids and length)
    81108    sync=it->getData(retval->data+offset+3*sizeof(int));
     
    140167  unsigned char* dest = (unsigned char*)malloc( buffer );
    141168  int retval;
    142   retval = compress( dest, &buffer, a->data, (uLong)size ); 
    143  
     169  retval = compress( dest, &buffer, a->data, (uLong)size );
     170
    144171  switch ( retval ) {
    145172  case Z_OK: std::cout << "successfully compressed" << std::endl; break;
     
    148175  case Z_DATA_ERROR: std::cout << "data corrupted" << std::endl; break;
    149176  }
    150  
     177
    151178  GameStateCompressed compressedGamestate;
    152179  compressedGamestate.compsize = buffer;
     
    155182  compressedGamestate.data = dest;
    156183  compressedGamestate.diffed = a->diffed;
    157  
     184
    158185  return compressedGamestate;
    159186}
  • code/branches/FICN/src/network/PacketBuffer.cc

    r337 r514  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Oliver Scheuss, (C) 2007
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128// C++ PacketBuffer
    229// d
  • code/branches/FICN/src/network/PacketBufferTestExt.cc

    r367 r514  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      ...
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128#include <string>
    229#include <iostream>
  • code/branches/FICN/src/network/PacketDecoder.cc

    r440 r514  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Dumeni Manatschal, (C) 2007
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128/*
    229 * Class contains functions to determine and decode incomming packages
    330 * ->don't read this without the class PacketGenerator, since they belong together
    4  * 
     31 *
    532 * Autor: Dumeni Manatschal
    6  * 
     33 *
    734*/
    835
     
    5885        ack* a = new ack;
    5986        *a = *(ack*)packet->data; //press pattern of ack on new data
    60        
    61         //clean memory
    62         enet_packet_destroy( packet );
    63        
     87
     88        //clean memory
     89        enet_packet_destroy( packet );
     90
    6491        printAck( a ); //debug info
    6592}
     
    6996        mouse* mouseMove = new mouse;
    7097        //copy data of packet->data to new struct
    71         *mouseMove = *(mouse*)packet->data; 
    72        
    73         //clean memory
    74         enet_packet_destroy( packet );
    75        
     98        *mouseMove = *(mouse*)packet->data;
     99
     100        //clean memory
     101        enet_packet_destroy( packet );
     102
    76103        printMouse( mouseMove ); //debug info
    77104}
     
    81108        keyboard* key = new keyboard;
    82109        *key = *(keyboard*)packet->data; //see above
    83        
    84         //clean memory
    85         enet_packet_destroy( packet );
    86        
     110
     111        //clean memory
     112        enet_packet_destroy( packet );
     113
    87114        printKey( key ); //debug info
    88115
     
    94121        chatting->id = (int)*packet->data; //first copy id into new struct
    95122        //since the chat message is a char*, allocate the memory needed
    96         char* reserve = new char[packet->dataLength-4]; 
     123        char* reserve = new char[packet->dataLength-4];
    97124        //copy the transmitted bytestream into the new generated char*,
    98         //note the lenght of the message is represented as "packet->dataLength-sizeof( int )" 
     125        //note the lenght of the message is represented as "packet->dataLength-sizeof( int )"
    99126        memcpy( &reserve[0], packet->data+sizeof(int), packet->dataLength-sizeof(int) );
    100127        //put pointer of chatting struct to the begining of the new generated char*
    101128        chatting->message = reserve;
    102        
    103         //clean memory
    104         enet_packet_destroy( packet );
    105        
     129
     130        //clean memory
     131        enet_packet_destroy( packet );
     132
    106133        processChat( chatting, clientId ); //debug info
    107        
     134
    108135}
    109136
     
    126153        //copy the GameStateCompressed data
    127154        memcpy( (void*)(currentState->data), (const void*)(data+4*sizeof( int ) + sizeof(bool)), currentState->compsize );
    128  
     155
    129156        //clean memory
    130157        enet_packet_destroy( packet );
  • code/branches/FICN/src/network/PacketGenerator.cc

    r437 r514  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Dumeni Manatschal, (C) 2007
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128/*
    229 *Class generates packets that can be send by enet
    330 * ->don't read this without the class PacketDecoder, since they belong together
    4  * 
     31 *
    532 * Autor: Dumeni Manatschal
    6  * 
     33 *
    734*/
    835
     
    2653        ackreq->id = ACK;
    2754        ackreq->a = state;
    28        
     55
    2956        ENetPacket *packet = enet_packet_create( ackreq , sizeof( *ackreq ), reliable );
    30        
     57
    3158        return packet;
    3259}
     
    3966        mousemove->x = x;
    4067        mousemove->y = y;
    41        
     68
    4269        ENetPacket *packet = enet_packet_create( mousemove , sizeof( *mousemove ), reliable );
    43        
     70
    4471        return packet;
    4572}
     
    5178        key->id = KEYBOARD;
    5279        key->press = press;
    53        
     80
    5481        ENetPacket *packet = enet_packet_create( key , sizeof( *key ), reliable );
    55        
     82
    5683        return packet;
    5784}
     
    6491        memcpy( &trans[1], (const void*)message, strlen( message ) + 1);
    6592        ENetPacket *packet = enet_packet_create( trans , sizeof( int ) + strlen( message ) + 1, reliable );
    66        
     93
    6794        return packet;
    6895}
     
    7198ENetPacket* PacketGenerator::gstate( GameStateCompressed* states, int reliable )
    7299{
    73         int* gid = new int; 
     100        int* gid = new int;
    74101        *gid = GAMESTATE; //first assign the correct enet id
    75102        int totalLen = 4*sizeof( int ) + sizeof(bool) + states->compsize; //calculate the total size of the datastream memory
     
    87114        //create an enet packet with the generated bytestream
    88115        ENetPacket *packet = enet_packet_create( data , totalLen, reliable );
    89        
     116
    90117        return packet;
    91118}
  • code/branches/FICN/src/network/dummyclient.cc

    r445 r514  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Oliver Scheuss, (C) 2007
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128//o
    229// Dummy client to test ConnectionManager and PacketBuffer classes
  • code/branches/FICN/src/network/dummyclient2.cc

    r446 r514  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Oliver Scheuss, (C) 2007
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128//
    229// Dummy client to test ConnectionManager, PacketBuffer, ClientConnection and other classes
  • code/branches/FICN/src/network/dummyserver.cc

    r445 r514  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Oliver Scheuss, (C) 2007
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128//
    229// Dummy server to test ConnectionManager and PacketBuffer classes
Note: See TracChangeset for help on using the changeset viewer.