Changeset 7320 for code/branches/ipv6/src/libraries
- Timestamp:
- Sep 2, 2010, 12:02:02 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ipv6/src/libraries/network/packet/ServerInformation.cc
r7163 r7320 49 49 // Save Server Round Trip Time 50 50 this->serverRTT_ = event->peer->roundTripTime; 51 // Save Server IP 52 char* serverIP = new char[ 16];53 enet_address_get_host_ip(&event->peer->address, serverIP, 16);51 // Save Server IP, leave some space for scope ID 52 char* serverIP = new char[64]; 53 enet_address_get_host_ip(&event->peer->address, serverIP, 64); 54 54 this->serverIP_ = std::string(serverIP); 55 55 // Save ACK
Note: See TracChangeset
for help on using the changeset viewer.