Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1515 for code/branches


Ignore:
Timestamp:
Jun 2, 2008, 1:35:52 PM (16 years ago)
Author:
scheusso
Message:

it is now possible, to use the —port command line option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/network/ClientConnection.cc

    r1505 r1515  
    5757    server=NULL;
    5858    enet_address_set_host(&serverAddress, address.c_str());
    59     serverAddress.port = NETWORK_PORT;
     59    serverAddress.port = port;
    6060    established=false;
    6161  }
     
    6565    server=NULL;
    6666    enet_address_set_host(&serverAddress, address);
    67     serverAddress.port = NETWORK_PORT;
     67    serverAddress.port = port;
    6868    established=false;
    6969  }
Note: See TracChangeset for help on using the changeset viewer.