Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/merger/src/network/Server.cc @ 311

Last change on this file since 311 was 285, checked in by nicolasc, 17 years ago

cleaned up network, builds with CML

File size: 739 bytes
RevLine 
[230]1//
2// C++ Implementation: Server
3//
[285]4// Description:
[230]5//
6//
7// Author:  Oliver Scheuss, (C) 2007
8//
9// Copyright: See COPYING file that comes with this distribution
10//
11//
12
13
[285]14#include "Server.h"
[230]15
16namespace network{
[285]17
[230]18  /**
19   * Constructor for default values (bindaddress is set to ENET_HOST_ANY
[285]20   *
[230]21   */
22  Server::Server(){
[285]23
24
[230]25  }
[285]26
[230]27  /**
28   * Constructor
29   * @param port Port to listen on
30   * @param bindAddress Address to listen on
31   */
32  Server::Server(int port, std::string bindAddress) : connection(port, bindAddress){
[285]33
34
[230]35  }
[285]36
[230]37  /**
38   * Constructor
39   * @param port Port to listen on
40   * @param bindAddress Address to listen on
41   */
42  Server::Server(int port, const char *bindAddress) : connection(port, bindAddress){
[285]43
44
45
46
[230]47  }
[285]48
49
50
51
52
[230]53}
Note: See TracBrowser for help on using the repository browser.