Changeset 4933 for source/ariba
- Timestamp:
- Jul 15, 2009, 2:09:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcast.h
r4924 r4933 173 173 uint8_t* pnt = data.getBuffer(); 174 174 size_t len = data.getLength() / 8; 175 boost::system::error_code ignored_error; 176 177 cout << "-----------> sending out " << data << std::endl; 175 178 176 boost::system::error_code err; 179 177 … … 187 185 udp::endpoint endp(udp::v6(), PeriodicBroadcast::serverport_v6); 188 186 endp.address( boost::asio::ip::address_v6::from_string("ff02::1") ); 189 socket_v6.send_to( boost::asio::buffer(pnt, len), endp, 0, ignored_error ); 187 socket_v6.send_to( boost::asio::buffer(pnt, len), endp, 0, err ); 188 if(err) logging_warn("failed sending message through ipv6 socket"); 190 189 } 191 190 } … … 215 214 data_deserialize( msg, data ); 216 215 217 cout << "-----------> received " << data << std::endl;218 219 216 { // insert new found service 220 217 boost::mutex::scoped_lock( *servicesmutex );
Note:
See TracChangeset
for help on using the changeset viewer.