Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/audio/src/network/Server.cc @ 359

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

cleaned up network, builds with CML

File size: 739 bytes
Line 
1//
2// C++ Implementation: Server
3//
4// Description:
5//
6//
7// Author:  Oliver Scheuss, (C) 2007
8//
9// Copyright: See COPYING file that comes with this distribution
10//
11//
12
13
14#include "Server.h"
15
16namespace network{
17
18  /**
19   * Constructor for default values (bindaddress is set to ENET_HOST_ANY
20   *
21   */
22  Server::Server(){
23
24
25  }
26
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){
33
34
35  }
36
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){
43
44
45
46
47  }
48
49
50
51
52
53}
Note: See TracBrowser for help on using the repository browser.