Changeset 107 for osgVisual/src/cluster
- Timestamp:
- Jul 30, 2010, 8:56:43 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/src/cluster/dataIO_clusterENet_implementation.cpp
r95 r107 262 262 void dataIO_clusterENet_implementation::onReceivePacket(ENetEvent* event_) 263 263 { 264 receivedTransportContainer.assign((char*)(event_->packet->data), event_->packet->dataLength); 265 //std::cout << "A packet of length "<<event_->packet->dataLength<<" containing "<<receivedTransportContainer<<" was received from "<<receivedTransportContainer<<" on channel "<<(int)(event_->channelID)<<std::endl; 264 receivedTransportContainer.assign((char*)(event_->packet->data), event_->packet->dataLength); 265 enet_packet_destroy(event_->packet); 266 //std::cout << "A packet of length "<<receivedTransportContainer.size()<<" containing "<<receivedTransportContainer<<" was received from "<<receivedTransportContainer<<" on channel "<<(int)(event_->channelID)<<std::endl; 266 267 } 267 268
Note: See TracChangeset
for help on using the changeset viewer.